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]>
This commit is contained in:
John Allen authored and Sean Christopherson committed 2025-09-23 09:28:37 -07:00
1 parent b5fa221f7b
commit 8db428fd52
1 file changed
-3
-3
View File
@@ -5263,10 +5263,7 @@ static __init void svm_set_cpu_caps(void)
kvm_set_cpu_caps();
kvm_caps.supported_perf_cap = 0;
kvm_caps.supported_xss = 0;
/* KVM doesn't yet support CET virtualization for SVM. */
kvm_cpu_cap_clear(X86_FEATURE_SHSTK);
kvm_cpu_cap_clear(X86_FEATURE_IBT);
/* CPUID 0x80000001 and 0x8000000A (SVM features) */