Re: [PATCH 1/3] x86, intel: Output microcode revision

From: Ingo Molnar
Date: Wed May 25 2011 - 07:30:50 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> > Sure we have /sys/devices/system/cpu/cpuN/microcode/version, but
> > that's both privileged to get
>
> Not only that but you have to load the ucode driver to be able to
> read it. /proc/cpuinfo looks like the easiest and most generic
> place.

Indeed, that's a good point - i sometimes boot kernels without the
microcode driver built in, so then no microcode gets loaded. If i
report a weird bug then whoever looks at my bug report might notice
the ancient ucode version number in /proc/cpuinfo.

Thanks,

Ingo
--
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/