Re: [PATCH v2] sev-snp: parse MP tables for VMware hypervisor

From
Borislav Petkov <bp@alien8.de>
Date
2025-03-13 17:52:56
Also in
lkml
Reply to
Ajay Kaher, 2025-03-13
On Thu, Mar 13, 2025 at 05:31:11PM +0000, Ajay Kaher wrote:
For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI.
VMs

mingo, pls fix up while applying.
In this case, mpparse_find_mptable() has to be called to parse MP
tables which contains boot information.

Fixes: 0f4a1e80989a ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests")
Co-developed-by: Ye Li <redacted>
Signed-off-by: Ye Li <redacted>
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Tested-by: Ye Li <redacted>
Reviewed-by: Kevin Loughlin <redacted>
---
Changes since v1:
https://lore.kernel.org/lkml/20241219114400.858980-1-ajay.kaher@broadcom.com/ (local)
        - use cc_platform_has(CC_ATTR_GUEST_SEV_SNP) instead of
          (sev_status & MSR_AMD64_SEV_SNP_ENABLED)
	- remove unwanted header files
---
 arch/x86/kernel/cpu/vmware.c | 4 ++++
 1 file changed, 4 insertions(+)
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (2 messages) 2 messages, 2 authors, last reply 2025-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help