Re: [PATCH] x86/microcode: Be more verbose, especially about loading errors

From: Borislav Petkov
Date: Wed Dec 06 2023 - 15:32:18 EST


On Wed, Dec 06, 2023 at 09:23:48PM +0100, Jann Horn wrote:
> Well, yes, except that if no microcode blob is loaded, you're not
> gonna have the errata fixes and/or security mitigations that you might
> expect to have.

We say that too:

microcode: Current revision: 0x000000f0
microcode: Updated early from: 0x000000be

That second line would be missing.

And updated microcode != microcode version for all the mitigations is
even available.

Therefore, the mitigation fixes all report that too. Look for
"[Mm]icrocode" in the mitigation strings in arch/x86/kernel/cpu/bugs.c.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette