Re: [PATCH 0/6] efi/x86: Avoid legacy decompressor during EFI boot

From: Borislav Petkov
Date: Wed Apr 26 2023 - 06:18:08 EST


On Mon, Apr 24, 2023 at 06:57:20PM +0200, Ard Biesheuvel wrote:
> arch/x86/boot/compressed/efi_mixed.S | 55 ---
> arch/x86/boot/compressed/head_32.S | 24 --
> arch/x86/boot/compressed/head_64.S | 39 +--
> arch/x86/boot/compressed/misc.c | 44 ++-
> arch/x86/include/asm/efi.h | 2 +
> drivers/firmware/efi/libstub/efi-stub-helper.c | 4 +
> drivers/firmware/efi/libstub/x86-stub.c | 360 +++++++++++++-------
> 7 files changed, 279 insertions(+), 249 deletions(-)

Upon a quick scan, I can't argue with that diffstat and would prefer
a lot more if we did this instead of Evgeny's pile which touches a lot
of nasty and hard to debug code which gets executed on *everything*.

So if people agree with that approach, I'd gladly give it a more
detailed look.

Thx.

--
Regards/Gruss,
Boris.

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