Re: [PATCH] x86/microcode/AMD: Warn when a patch is skipped because of the Entrysign cutoff
From: Erwan Velu
Date: Thu Nov 26 2026 - 05:01:21 EST
> > + if (cur_rev <= cutoff &&
> > + ucode_rev_to_cpuid(patch_rev).full == bsp_cpuid_1_eax)
> > + pr_warn_once("Patch 0x%08x skipped: current revision 0x%08x is at or below the Entrysign cutoff 0x%08x, a BIOS update is required\n",
> > + patch_rev, cur_rev, cutoff);
> > +
>
> Except that a one-liner in dmesg doesn't tell you the whole story.
> Also, not everyone can get BIOS updates and then more questions arise.
> Perhaps I can document it in Documentation/arch/x86/microcode.rst.
Boris,
Thanks for the quick feedback.
We can adjust the wording, but it's important for the user to
understand that the non microcode loading was done intentionally
because of this trust issue, and the only way to avoid it is a BIOS
update.
In my case, two identical systems (kernel / ramfs / OS) : one loads
the 21c firmware and gets TSA enabled; the second one remains on 215,
no TSA, no error message.
User complained about the performance of the machine, so I initially
suspected late-loading behavior, then an incorrect microcode that led
to this code.
It's truly important, from a security and performance perspective, to
inform the user that the kernel made this decision not to load the
ucode and what the possible workarounds are.
I think it's important to inform the user that a BIOS update is
necessary to get a ucode greater than the cutoff, and that this has to
be exposed even if you don't have any available.
Erwan,