]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/virt: Move SEV-specific parsing into arch/x86/virt/svm
authorPavan Kumar Paluri <papaluri@amd.com>
Mon, 14 Oct 2024 13:09:47 +0000 (08:09 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 15 Oct 2024 17:54:42 +0000 (19:54 +0200)
commit4ae47fa7e8f95be17d4ff9c317a1193bbb4a3998
tree157ce750811ee759598cecfdafb16af481c65c56
parent8e929cb546ee42c9a61d24fae60605e9e3192354
x86/virt: Move SEV-specific parsing into arch/x86/virt/svm

Move SEV-specific kernel command line option parsing support from
arch/x86/coco/sev/core.c to arch/x86/virt/svm/cmdline.c so that both
host and guest related SEV command line options can be supported.

No functional changes intended.

Signed-off-by: Pavan Kumar Paluri <papaluri@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20241014130948.1476946-2-papaluri@amd.com
arch/x86/coco/sev/core.c
arch/x86/include/asm/sev-common.h
arch/x86/virt/svm/Makefile
arch/x86/virt/svm/cmdline.c [new file with mode: 0644]