]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:27 +0000 (12:54 -0700)
commit9233b85afb47f9c013a92308ea6355b3e09d3740
tree5d27daaf3b4c867d0d7f960171bc02020642c324
parent1c46673be93dd2954f44fe370fb4f2b8e6214224
x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors

[ Upstream commit a2ab25529bbcea51b5e01dded79f45aeb94f644a ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/cpu/vmware.c