]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors
authorAjay Kaher <ajay.kaher@broadcom.com>
Thu, 13 Mar 2025 17:31:11 +0000 (17:31 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 13 Mar 2025 18:01:09 +0000 (19:01 +0100)
commita2ab25529bbcea51b5e01dded79f45aeb94f644a
tree3545816b4c35c1611faa71fb5a623792d1ba6db8
parentb7f94fcf55469ad3ef8a74c35b488dbfa314d1bb
x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors

Under VMware hypervisors, SEV-SNP enabled VMs are fundamentally able to boot
without UEFI, but this regressed a year ago due to:

  0f4a1e80989a ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests")

In this case, mpparse_find_mptable() has to be called to parse MP
tables which contains the necessary boot information.

[ mingo: Updated the changelog. ]

Fixes: 0f4a1e80989a ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests")
Co-developed-by: Ye Li <ye.li@broadcom.com>
Signed-off-by: Ye Li <ye.li@broadcom.com>
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Ye Li <ye.li@broadcom.com>
Reviewed-by: Kevin Loughlin <kevinloughlin@google.com>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250313173111.10918-1-ajay.kaher@broadcom.com
arch/x86/kernel/cpu/vmware.c