Re: Q: Seeing the microcode revision in /proc/cpuinfo

From: Borislav Petkov
Date: Tue Aug 14 2012 - 09:11:54 EST


On Tue, Aug 14, 2012 at 02:35:40PM +0200, Ulrich Windl wrote:
> Hi!
>
> After several reboots due to memory errors after excellent power-saving of Linux on a HP DL380G7 with Intel Xeon 5650 processors (all in on memory bank), I found out the errate "BD104" and "BD123". The former should be fixed in a microcode revision "15H".
>
> Now I wonder what microcode revision my CPUs currently have. /proc/cpuinfo doesn't show that, and the microcode update is a bit cryptic:
>
> kernel: [ 44.422912] microcode: CPU23 sig=0x206c2, pf=0x1, revision=0x14
>
> Does that mean the revision is 0x14 BEFORE or AFTER the microcode update?
>
> Wouldn't you agree that seeing the microcode revision in /proc/cpuinfo would be nice?

Well, you must be using an old-ish kernel because the microcode revision
infact *is* in /proc/cpuinfo:

processor : 1
...
stepping : 0
microcode : 0x5000028

This is on 3.6-rc1 and that functionality is upstream since 3.2.

HTH.

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/