linux/arch/x86/virt/svm
Pavan Kumar Paluri 2db67aaca5 x86/virt: Provide "nosnp" boot option for sev kernel command line
Provide a "nosnp" kernel command line option to prevent enabling of the RMP
and SEV-SNP features in the host/hypervisor. Not initializing the RMP
removes system overhead associated with RMP checks.

  [ bp: Actually make it a HV-only cmdline option. ]

Co-developed-by: Eric Van Tassell <Eric.VanTassell@amd.com>
Signed-off-by: Eric Van Tassell <Eric.VanTassell@amd.com>
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-3-papaluri@amd.com
2024-10-15 20:22:18 +02:00
..
cmdline.c x86/virt: Provide "nosnp" boot option for sev kernel command line 2024-10-15 20:22:18 +02:00
Makefile x86/virt: Move SEV-specific parsing into arch/x86/virt/svm 2024-10-15 19:54:42 +02:00
sev.c x86/sev: Do RMP memory coverage check after max_pfn has been set 2024-07-11 12:03:23 +02:00