Re: [tip: x86/core] x86/alternative: Patch a single alternative location only once
From: Borislav Petkov
Date: Tue Oct 14 2025 - 10:12:57 EST
On Tue, Oct 14, 2025 at 04:08:47PM +0200, Jürgen Groß wrote:
> And just for the record: NMI handling is using ALTERNATIVE_2, so you
> can't just "disable interrupts" and be sure it will work.
Are you fixing anything you're actually hitting while patching alternatives or
are you talking hypothetically here?
Because I can't think of an easy way to trigger NMIs that early during boot,
when not even SMP is up.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette