Re: [PATCH] x86/microcode/intel: print previous microcode revision during early update
From: Petr Oros
Date: Fri Jan 26 2018 - 08:52:49 EST
Borislav Petkov pÃÅe v PÃ 26. 01. 2018 v 12:58 +0100:
> On Fri, Jan 26, 2018 at 12:45:35PM +0100, Petr Oros wrote:
> > During time of facing the Spectre vulnerability and the requirement of handling
> > different microcode updates, it has shown, that it would be useful to have
> > additional information which microcode version was in BIOS, if the early-update
> > routine will apply an update.
>
> Dmesg tells you if the update was applied or not.
>
> And if you really wanna know the old microcode revision, you can boot
> with "dis_ucode_ldr" and do "grep microcode /proc/cpuinfo".
>
Ohh, yes, it is easy and fast. Mainly in time when new microcodes are released
frequently and microcode can be early updated from initrd too.
But what in production? Edit boot params, restart server, grep /proc/cpuinfo and
restart again? Why i can not read it just from dmesg?
Thanks,
-Petr