[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1340186931.21745.90.camel@twins>
Date: Wed, 20 Jun 2012 12:08:51 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Borislav Petkov <bp@...64.org>
Cc: "Yu, Fenghua" <fenghua.yu@...el.com>, X86-ML <x86@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
Andreas Herrmann <andreas.herrmann3@....com>,
Henrique de Moraes Holschuh <hmh@....eng.br>
Subject: Re: [PATCH 2/2] x86, microcode: Make reload interface per system
On Wed, 2012-06-20 at 11:56 +0200, Borislav Petkov wrote:
> sprintf(name, "intel-ucode/%02x-%02x-%02x",
> c->x86, c->x86_model, c->x86_mask);
>
>
but but but, the ucode image actually contains stuff for multiple
things.. so I have to like rename it to match the actual cpu in the
machine?
That seems rather daft..
awk 'BEGIN { FS=":" } /family/ {fam=$2} /model[^ ]/ {mod=$2} /stepping/
{step=$2} END { printf "intel-ucode/%02x-%02x-%02x\n", fam, mod,
step }' /proc/cpuinfo
Will get me the right filename, but surely that's not user-friendly at
all...
So no, that's not an improvement over /dev/microcode
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists