Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull KVM fixes from Paolo Bonzini: "arm64: - Fix a couple of bugs affecting pKVM's PSCI relay implementation when running in the hVHE mode, resulting in the host being entered with the MMU in an unknown state, and EL2 being in the wrong mode x86: - Set RFLAGS.IF in C code on SVM to get VMRUN out of the STI shadow - Ensure DEBUGCTL is context switched on AMD to avoid running the guest with the host's value, which can lead to unexpected bus lock #DBs - Suppress DEBUGCTL.BTF on AMD (to match Intel), as KVM doesn't properly emulate BTF. KVM's lack of context switching has meant BTF has always been broken to some extent - Always save DR masks for SNP vCPUs if DebugSwap is *supported*, as the guest can enable DebugSwap without KVM's knowledge - Fix a bug in mmu_stress_tests where a vCPU could finish the "writes to RO memory" phase without actually generating a write-protection ...
Showing
- arch/arm64/include/asm/el2_setup.h 26 additions, 5 deletionsarch/arm64/include/asm/el2_setup.h
- arch/arm64/kernel/head.S 3 additions, 19 deletionsarch/arm64/kernel/head.S
- arch/arm64/kvm/hyp/nvhe/hyp-init.S 7 additions, 3 deletionsarch/arm64/kvm/hyp/nvhe/hyp-init.S
- arch/arm64/kvm/hyp/nvhe/psci-relay.c 3 additions, 0 deletionsarch/arm64/kvm/hyp/nvhe/psci-relay.c
- arch/x86/include/asm/kvm_host.h 1 addition, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/cpuid.c 1 addition, 1 deletionarch/x86/kvm/cpuid.c
- arch/x86/kvm/svm/sev.c 17 additions, 7 deletionsarch/x86/kvm/svm/sev.c
- arch/x86/kvm/svm/svm.c 49 additions, 0 deletionsarch/x86/kvm/svm/svm.c
- arch/x86/kvm/svm/svm.h 1 addition, 1 deletionarch/x86/kvm/svm/svm.h
- arch/x86/kvm/svm/vmenter.S 1 addition, 9 deletionsarch/x86/kvm/svm/vmenter.S
- arch/x86/kvm/vmx/vmx.c 2 additions, 6 deletionsarch/x86/kvm/vmx/vmx.c
- arch/x86/kvm/vmx/vmx.h 0 additions, 2 deletionsarch/x86/kvm/vmx/vmx.h
- arch/x86/kvm/x86.c 2 additions, 0 deletionsarch/x86/kvm/x86.c
- tools/testing/selftests/kvm/mmu_stress_test.c 13 additions, 8 deletionstools/testing/selftests/kvm/mmu_stress_test.c
- tools/testing/selftests/kvm/x86/nested_exceptions_test.c 2 additions, 0 deletionstools/testing/selftests/kvm/x86/nested_exceptions_test.c
- tools/testing/selftests/kvm/x86/sev_smoke_test.c 2 additions, 1 deletiontools/testing/selftests/kvm/x86/sev_smoke_test.c
Loading
Please register or sign in to comment