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 <[email protected]> Signed-off-by: John Allen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent b5fa221 commit 8db428f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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)