Linus, The following changes since commit 2673cb6849722a4ffd74c27a9200a9ec43f64be3: Merge tag 'kvm-s390-master-5.7-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2020-05-06 08:09:17 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to c4e0e4ab4cf3ec2b3f0b628ead108d677644ebd9: KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce (2020-05-15 13:48:56 -0400) ---------------------------------------------------------------- A new testcase for guest debugging (gdbstub) that exposed a bunch of bugs, mostly for AMD processors. And a few other x86 fixes. ---------------------------------------------------------------- Babu Moger (1): KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it to x86.c Jim Mattson (1): KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce Paolo Bonzini (6): KVM: x86: fix DR6 delivery for various cases of #DB injection KVM: nSVM: trap #DB and #BP to userspace if guest debugging is on KVM: SVM: keep DR6 synchronized with vcpu->arch.dr6 KVM: x86, SVM: isolate vcpu->arch.dr6 from vmcb->save.dr6 KVM: VMX: pass correct DR6 for GD userspace exit Merge branch 'kvm-amd-fixes' into HEAD Peter Xu (4): KVM: X86: Declare KVM_CAP_SET_GUEST_DEBUG properly KVM: X86: Set RTM for DB_VECTOR too for KVM_EXIT_DEBUG KVM: X86: Fix single-step with KVM_SET_GUEST_DEBUG KVM: selftests: Add KVM_SET_GUEST_DEBUG test Suravee Suthikulpanit (2): KVM: Introduce kvm_make_all_cpus_request_except() KVM: SVM: Disable AVIC before setting V_IRQ arch/x86/include/asm/kvm_host.h | 4 +- arch/x86/kvm/hyperv.c | 2 +- arch/x86/kvm/svm/nested.c | 39 ++++- arch/x86/kvm/svm/svm.c | 36 +++-- arch/x86/kvm/vmx/vmx.c | 41 +---- arch/x86/kvm/x86.c | 60 ++++--- include/linux/kvm_host.h | 3 + tools/testing/selftests/kvm/Makefile | 1 + tools/testing/selftests/kvm/include/kvm_util.h | 2 + tools/testing/selftests/kvm/lib/kvm_util.c | 9 ++ tools/testing/selftests/kvm/x86_64/debug_regs.c | 202 ++++++++++++++++++++++++ virt/kvm/kvm_main.c | 14 +- 12 files changed, 325 insertions(+), 88 deletions(-) create mode 100644 tools/testing/selftests/kvm/x86_64/debug_regs.c