mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erwan Velu <e.velu@criteo.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Erwan Velu <erwanaliasr1@gmail.com>,
	x86@kernel.org, Thomas Gleixner <tglx@kernel.org>,
	Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H . Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/microcode/AMD: Warn when a patch is skipped because of the Entrysign cutoff
Date: Fri, 4 Dec 2026 11:08:44 +0100	[thread overview]
Message-ID: <ada89757-ab88-4753-a880-4e31b48797e5@criteo.com> (raw)
In-Reply-To: <20261203234753.GIaxH_qS6JsxIIGCil@fat_crate.local>


On 12/4/26 00:47, Borislav Petkov wrote:
> [Vous ne recevez pas souvent de courriers de bp@alien8.de. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>
> On Thu, Dec 03, 2026 at 03:29:14PM +0100, Erwan Velu wrote:
>> I'm not sure what you want me to show here since the current code isn't
>> showing anything.
> I wanna see what server system is that, what microcode and BIOS it is using
> in order to figure out why you're even raising this as an issue.
>
> Usually, server machines should simply update BIOS because they do get BIOS
> for waaay longer than client and stuff should JustWork(tm).
>
>> But one thing is sure, we cannot silence the fact the microcode is not
>> loaded on purpose.
> Microcode is not loaded because no one updated the BIOS, most likely. But my
> crystal ball doesn't have batteries today so I can only guess.
>
> :-)
>
>> WDYT of having a single line reporting the microcode isn't loaded because of
>> the cutoff and point to a document where we expose in detail the _why_ ?
> Maybe. That's what I meant with
>
> "Perhaps I can document it in Documentation/arch/x86/microcode.rst."
>
> But I would like to be absolutely sure what I am documenting in the first
> place and is there even a justification for that.

So let me clarify my case and why I'm pushing that patch / request.

I'm operating a large fleet of identical servers and internal users 
reported a performance delta between subset of them.

Same kernel / same OS / same application _but_ a noticeable 9% 
perf/price delta.

It appear the BIOS difference explains this as the top liners are 
running the older bios and the bottom liners the new bios.

In our case, the BIOS update exists _but_ is deployed in a progressive 
and controlled way to ensure new firmware release do not break systems.

When they reported the issue, the microcode/mitigations where clearly 
the first items we checked : and so that's why I was wondering why the 
newest microcode embedded in the ramfs was not loaded properly.

In such configuration, when diffing servers, having a line indicating a 
decision of not loading the microcode on purpose because of the cutoff 
would have ease the debug.

So something like "Patch 0x%08x skipped: current revision 0x%08x is at 
or below the Entrysign cutoff 0x%08x, see 
Documentation/arch/x86/microcode.rst" would help a lot.

If you're fine with this, I'll push a v2.

Erwan,



      reply	other threads:[~2026-12-04 10:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 17:52 Erwan Velu
2026-11-26  0:44 ` Borislav Petkov
2026-11-26 10:00   ` Erwan Velu
2026-11-27  1:31     ` Borislav Petkov
2026-12-03 14:29       ` Erwan Velu
2026-12-03 23:47         ` Borislav Petkov
2026-12-04 10:08           ` Erwan Velu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ada89757-ab88-4753-a880-4e31b48797e5@criteo.com \
    --to=e.velu@criteo.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=erwanaliasr1@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®