]> www.infradead.org Git - nvme.git/commit
x86/efistub: Revert to heap allocated boot_params for PE entrypoint
authorArd Biesheuvel <ardb@kernel.org>
Fri, 22 Mar 2024 17:11:32 +0000 (18:11 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 18 Jul 2024 21:05:02 +0000 (23:05 +0200)
commitae835a96d72cd025421910edb0e8faf706998727
tree77215de55f1920106bd4215784fd3b55e1300243
parentee8b8f5d83eb2c9caaebcf633310905ee76856e9
x86/efistub: Revert to heap allocated boot_params for PE entrypoint

This is a partial revert of commit

  8117961d98f ("x86/efi: Disregard setup header of loaded image")

which triggers boot issues on older Dell laptops. As it turns out,
switching back to a heap allocation for the struct boot_params
constructed by the EFI stub works around this, even though it is unclear
why.

Cc: Christian Heusel <christian@heusel.eu>
Reported-by: <mavrix#kernel@simplelogin.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/x86-stub.c