[GIT PULL] KVM changes for Linux 6.15-rc3

From: Paolo Bonzini
Date: Fri Apr 18 2025 - 09:06:59 EST


Linus,

The following changes since commit 8ffd015db85fea3e15a77027fda6c02ced4d2444:

Linux 6.15-rc2 (2025-04-13 11:54:49 -0700)

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 9cf353943e2a1f2904062ea0e619402790289a9b:

KVM: x86: Do not use kvm_rip_read() unconditionally for KVM_PROFILING (2025-04-15 07:42:46 -0400)

----------------------------------------------------------------
x86:

* Bugfixes from a planned posted interrupt rework

* Do not use kvm_rip_read() unconditionally to cater for guests
with inaccessible register state.

----------------------------------------------------------------
Adrian Hunter (2):
KVM: x86: Do not use kvm_rip_read() unconditionally in KVM tracepoints
KVM: x86: Do not use kvm_rip_read() unconditionally for KVM_PROFILING

Sean Christopherson (8):
KVM: SVM: Don't update IRTEs if APICv/AVIC is disabled
KVM: SVM: Allocate IR data using atomic allocation
KVM: x86: Reset IRTE to host control if *new* route isn't postable
KVM: x86: Explicitly treat routing entry type changes as changes
KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer
iommu/amd: Return an error if vCPU affinity is set for non-vCPU IRTE
iommu/amd: WARN if KVM attempts to set vCPU affinity without posted intrrupts
KVM: SVM: WARN if an invalid posted interrupt IRTE entry is added

arch/x86/kvm/svm/avic.c | 68 +++++++++++++++++++++++-------------------
arch/x86/kvm/trace.h | 13 ++++++--
arch/x86/kvm/vmx/posted_intr.c | 28 +++++++----------
arch/x86/kvm/x86.c | 23 +++++++++++---
drivers/iommu/amd/iommu.c | 15 +++-------
5 files changed, 80 insertions(+), 67 deletions(-)