Skip to content

Commit e21279b

Browse files
committed
x86/sev: Carve out the SVSM code into a separate compilation unit
Move the SVSM-related machinery into a separate compilation unit in order to keep sev/core.c slim and "on-topic". No functional changes. Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20251204124809.31783-4-bp@kernel.org
1 parent f01c648 commit e21279b

4 files changed

Lines changed: 392 additions & 378 deletions

File tree

arch/x86/coco/sev/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
obj-y += core.o noinstr.o vc-handle.o
3+
obj-y += core.o noinstr.o vc-handle.o svsm.o
44

55
# Clang 14 and older may fail to respect __no_sanitize_undefined when inlining
66
UBSAN_SANITIZE_noinstr.o := n

0 commit comments

Comments
 (0)