Re: [PATCH] x86/MCE: Fix CPU microcode version output

From: Luck, Tony
Date: Tue Jul 03 2018 - 12:59:02 EST


On Tue, Jul 03, 2018 at 12:48:44PM -0400, Prarit Bhargava wrote:
> On systems where a runtime microcode update has occurred the
> microcode version is wrong because boot_cpu_data.microcode is
> not updated during runtime.
>
> Use the per-CPU microcode version in the MCE message.

Other option would be to fix the microcode update code to make
sure that boot_cpu_data.microcode is right.

But if we go this route we should add:

Fixes: fa94d0c6e0f3 ("x86/MCE: Save microcode revision in machine check records")
Cc: stable@xxxxxxxxxxxxxxx

Can also get a:

Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>

-Tony Luck