aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/startup/sme.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/startup/sme.c')
-rw-r--r--arch/x86/boot/startup/sme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/boot/startup/sme.c b/arch/x86/boot/startup/sme.c
index 70ea1748c0a7..bf9153b9a3d9 100644
--- a/arch/x86/boot/startup/sme.c
+++ b/arch/x86/boot/startup/sme.c
@@ -521,6 +521,7 @@ void __head sme_enable(struct boot_params *bp)
return;
me_mask = 1UL << (ebx & 0x3f);
+ sev_snp_needs_sfw = !(ebx & BIT(31));
/* Check the SEV MSR whether SEV or SME is enabled */
sev_status = msr = native_rdmsrq(MSR_AMD64_SEV);