[GIT PULL] x86 fix

Ingo Molnar posted 1 patch 9 months, 1 week ago
arch/x86/kernel/cpu/vmware.c | 4 ++++
1 file changed, 4 insertions(+)
[GIT PULL] x86 fix
Posted by Ingo Molnar 9 months, 1 week ago
Linus,

Please pull the latest x86/urgent Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2025-03-14

   # HEAD: a2ab25529bbcea51b5e01dded79f45aeb94f644a x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors

Fix the bootup of SEV-SNP enabled guests under VMware hypervisors.

 Thanks,

	Ingo

------------------>
Ajay Kaher (1):
      x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors


 arch/x86/kernel/cpu/vmware.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 00189cdeb775..cb3f900c46fc 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -26,6 +26,7 @@
 #include <linux/export.h>
 #include <linux/clocksource.h>
 #include <linux/cpu.h>
+#include <linux/efi.h>
 #include <linux/reboot.h>
 #include <linux/static_call.h>
 #include <asm/div64.h>
@@ -429,6 +430,9 @@ static void __init vmware_platform_setup(void)
 		pr_warn("Failed to get TSC freq from the hypervisor\n");
 	}
 
+	if (cc_platform_has(CC_ATTR_GUEST_SEV_SNP) && !efi_enabled(EFI_BOOT))
+		x86_init.mpparse.find_mptable = mpparse_find_mptable;
+
 	vmware_paravirt_ops_setup();
 
 #ifdef CONFIG_X86_IO_APIC
Re: [GIT PULL] x86 fix
Posted by pr-tracker-bot@kernel.org 9 months, 1 week ago
The pull request you sent on Fri, 14 Mar 2025 10:14:14 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2025-03-14

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2eaca8a09e55a30e8f2df8d13d4071f8f856b716

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html