mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
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:
1 parent
b5fa221f7b
commit
8db428fd52
1 file changed
-3
@@ -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) */
|
||||
|
||||
Reference in new issue
Block a user