]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/sev: Move instruction decoder into separate source file
authorArd Biesheuvel <ardb@kernel.org>
Sun, 4 May 2025 09:52:35 +0000 (11:52 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 4 May 2025 13:53:06 +0000 (15:53 +0200)
commitae862964cbc562582576da91b0b92742a574c437
tree1714943cfbe75f12768a8d128e0323ec5faae42d
parentfae89bbfdd9d692e3cb6eace89f4994177731b8c
x86/sev: Move instruction decoder into separate source file

As a first step towards disentangling the SEV #VC handling code -which
is shared between the decompressor and the core kernel- from the SEV
startup code, move the decompressor's copy of the instruction decoder
into a separate source file.

Code movement only - no functional change intended.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Dionna Amalie Glaze <dionnaglaze@google.com>
Cc: H. Peter Anvin <hpa@zytor.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>
Cc: linux-efi@vger.kernel.org
Link: https://lore.kernel.org/r/20250504095230.2932860-30-ardb+git@google.com
arch/x86/boot/compressed/Makefile
arch/x86/boot/compressed/misc.h
arch/x86/boot/compressed/sev-handle-vc.c [new file with mode: 0644]
arch/x86/boot/compressed/sev.c