x86/boot: Move the EFI mixed mode startup code back under arch/x86, into startup/
authorArd Biesheuvel <ardb@kernel.org>
Tue, 1 Apr 2025 13:34:20 +0000 (15:34 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 6 Apr 2025 18:15:14 +0000 (20:15 +0200)
commit4f2d1bbc2c92a32fd612e6c3b51832d5c1c3678e
tree000374c3d04e02204d4708992bc32c6a7776c013
parent5a67da1f49cf4f16ec9966446885131dad0eb245
x86/boot: Move the EFI mixed mode startup code back under arch/x86, into startup/

Linus expressed a strong preference for arch-specific asm code (i.e.,
virtually all of it) to reside under arch/ rather than anywhere else.

So move the EFI mixed mode startup code back, and put it under
arch/x86/boot/startup/ where all shared x86 startup code is going to
live.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20250401133416.1436741-11-ardb+git@google.com
arch/x86/boot/startup/Makefile
arch/x86/boot/startup/efi-mixed.S [new file with mode: 0644]
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/x86-mixed.S [deleted file]