KVM: SVM: Implement VIRT_SPEC_CTRL support for SSBD
Expose the new virtualized architectural mechanism, VIRT_SSBD, for using speculative store bypass disable (SSBD) under SVM. This will allow guests to use SSBD on hardware that uses non-architectural mechanisms for enabling SSBD. [ tglx: Folded the migration fixup from Paolo Bonzini ] Signed-off-by:Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/include/asm/kvm_host.h 1 addition, 1 deletionarch/x86/include/asm/kvm_host.h
- arch/x86/kernel/cpu/common.c 2 additions, 1 deletionarch/x86/kernel/cpu/common.c
- arch/x86/kvm/cpuid.c 9 additions, 2 deletionsarch/x86/kvm/cpuid.c
- arch/x86/kvm/svm.c 19 additions, 2 deletionsarch/x86/kvm/svm.c
- arch/x86/kvm/vmx.c 15 additions, 3 deletionsarch/x86/kvm/vmx.c
- arch/x86/kvm/x86.c 4 additions, 9 deletionsarch/x86/kvm/x86.c
Please register or sign in to comment