[GIT PULL] KVM changes for Linux 5.17-rc5

From: Paolo Bonzini
Date: Tue Feb 15 2022 - 12:21:40 EST


Linus,

The following changes since commit dfd42facf1e4ada021b939b4e19c935dcdd55566:

Linux 5.17-rc3 (2022-02-06 12:20:50 -0800)

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 710c476514313c74045c41c0571bb5178fd16e3d:

KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW (2022-02-14 07:44:51 -0500)

----------------------------------------------------------------
ARM:

* Read HW interrupt pending state from the HW

x86:

* Don't truncate the performance event mask on AMD

* Fix Xen runstate updates to be atomic when preempting vCPU

* Fix for AMD AVIC interrupt injection race

* Several other AMD fixes

----------------------------------------------------------------
This one missed rc4 closely.

David Woodhouse (1):
KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU

Jim Mattson (2):
KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW

Marc Zyngier (1):
KVM: arm64: vgic: Read HW interrupt pending state from the HW

Maxim Levitsky (10):
KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
KVM: x86: nSVM: fix potential NULL derefernce on nested migration
KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
KVM: x86: nSVM: expose clean bit support to the guest
KVM: x86: nSVM: deal with L1 hypervisor that intercepts interrupts but lets L2 control them
KVM: x86: lapic: don't touch irr_pending in kvm_apic_update_apicv when inhibiting it
KVM: x86: SVM: move avic definitions from AMD's spec to svm.h
KVM: SVM: extract avic_ring_doorbell
KVM: SVM: fix race between interrupt delivery and AVIC inhibition

Muhammad Usama Anjum (1):
selftests: kvm: Remove absent target file

Paolo Bonzini (2):
Merge tag 'kvmarm-fixes-5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM: SVM: set IRR in svm_deliver_interrupt

Sean Christopherson (1):
Revert "svm: Add warning message for AVIC IPI invalid target"

arch/arm64/kvm/vgic/vgic-mmio.c | 2 +
arch/x86/include/asm/msr-index.h | 1 +
arch/x86/include/asm/svm.h | 36 +++++++++++++
arch/x86/kvm/lapic.c | 7 ++-
arch/x86/kvm/pmu.c | 7 +--
arch/x86/kvm/svm/avic.c | 93 +++++++++-------------------------
arch/x86/kvm/svm/nested.c | 26 +++++-----
arch/x86/kvm/svm/svm.c | 85 ++++++++++++++++++++++++++-----
arch/x86/kvm/svm/svm.h | 15 ++----
arch/x86/kvm/vmx/vmx.c | 1 +
arch/x86/kvm/x86.c | 4 +-
arch/x86/kvm/xen.c | 97 +++++++++++++++++++++++++-----------
tools/testing/selftests/kvm/Makefile | 1 -
13 files changed, 232 insertions(+), 143 deletions(-)