Skip to content

Commit 8db428f

Browse files
jallen-amdsean-jc
authored andcommitted
KVM: SVM: Enable shadow stack virtualization for SVM
Remove the explicit clearing of shadow stack CPU capabilities. Reviewed-by: Chao Gao <chao.gao@intel.com> Signed-off-by: John Allen <john.allen@amd.com> Link: https://lore.kernel.org/r/20250919223258.1604852-41-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent b5fa221 commit 8db428f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/x86/kvm/svm/svm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5263,10 +5263,7 @@ static __init void svm_set_cpu_caps(void)
52635263
kvm_set_cpu_caps();
52645264

52655265
kvm_caps.supported_perf_cap = 0;
5266-
kvm_caps.supported_xss = 0;
52675266

5268-
/* KVM doesn't yet support CET virtualization for SVM. */
5269-
kvm_cpu_cap_clear(X86_FEATURE_SHSTK);
52705267
kvm_cpu_cap_clear(X86_FEATURE_IBT);
52715268

52725269
/* CPUID 0x80000001 and 0x8000000A (SVM features) */

0 commit comments

Comments
 (0)