]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/boot: Move SEV startup code into startup/
authorArd Biesheuvel <ardb@kernel.org>
Fri, 18 Apr 2025 14:12:58 +0000 (16:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 22 Apr 2025 07:12:01 +0000 (09:12 +0200)
commita3cbbb4717e120f9e53fa7685909b310f7e99bf5
tree92671a73dea080fd89316c8c7c7d34e62a948032
parent234cf67fc3bd290bb16a377647a9c3f5a7f28a47
x86/boot: Move SEV startup code into startup/

Move the SEV startup code into arch/x86/boot/startup/, where it will
reside along with other code that executes extremely early, and
therefore needs to be built in a special manner.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Dionna Amalie Glaze <dionnaglaze@google.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Kevin Loughlin <kevinloughlin@google.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20250418141253.2601348-12-ardb+git@google.com
arch/x86/boot/compressed/sev.c
arch/x86/boot/startup/Makefile
arch/x86/boot/startup/sev-shared.c [moved from arch/x86/coco/sev/shared.c with 100% similarity]
arch/x86/boot/startup/sev-startup.c [moved from arch/x86/coco/sev/startup.c with 99% similarity]
arch/x86/coco/sev/Makefile