Re: [PATCH v2 01/10] x86/boot: Drop pointless re-implementation of panic()
From: Borislav Petkov
Date: Sat Sep 12 2026 - 13:54:58 EST
On Sat, Sep 12, 2026 at 10:41:56AM +0200, Ard Biesheuvel wrote:
> If you're not taking it as a fix, then yes, please.
Help me understand the exact problem pls:
That panic() function gets called by arch_accept_memory() and *that* gets
called only by code in drivers/firmware/efi/libstub/unaccepted_memory.c or
drivers/firmware/efi/unaccepted_memory.c (but that uses the kernel proper
panic() one).
So we *are* in the context of EFI boot services.
What am I missing?
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette