[GIT PULL] KVM fixes for Linux 7.2-rc6
From: Paolo Bonzini
Date: Wed Jul 29 2026 - 17:45:51 EST
Linus,
The following changes since commit f5098b6bae761e346ebcd9da7f95622c04733cff:
Linux 7.2-rc5 (2026-07-26 14:45:48 -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 7d3aae206663c4e006b25a1c7a20a4029e67da76:
KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active (2026-07-29 23:39:36 +0200)
----------------------------------------------------------------
Arm:
- Fix a tiny buglet when propagating the deactivation of an interrupt
from a nested guest, which happened to trigger a gold plated CPU bug
on a particular implementation
- Fix a race between LPI unmapping and mapping, resulting in leaked
LPIs
- Make LPI mapping more robust on memory allocation failure
- Fix the handling of the EL2 tracing clock being disabled
- A couple of Sashiko-driven fixes for corner cases in the EL2 tracing
code
- Add missing sysreg tracepoint for the EL2 code
- Tidy-up the mutual exclusion of guest-memfd and MTE
- Update Fuad's email address to point to @linux.dev
s390:
- several fixes for PCI passthru in s390 kvm
- fix a 7.2-rc regression in the adapter interrupt mapping code
x86:
- Add memory clobber to asm for VMX instructions; without one, the compiler
could reorder them in troublesome ways because "asm volatile" and "asm goto"
only protect against removal of the asm.
- Cancel delayed I/O APIC EOI handling before destroying vCPUs
- Check all address spaces (normal and SMM) for write tracking and large
pages, not just the current one.
- Always update x2APIC MSR intercepts for L1 when AVIC is deactivated,
even if not running L1. If the deactivation is VM-wide rather than being
caused by something in L2's vCPU state, after a nested vmexit L1 will
be able to access the host's APIC state.
----------------------------------------------------------------
Alexandru Elisei (1):
KVM: arm64: Reject guest_memfd memslots when the VM has MTE
Carlos López (2):
KVM: arm64: vgic: Fix race between LPI release and re-registration
KVM: arm64: vgic: Mitigate potential LPI registration failure
D Scott Phillips (1):
KVM: arm64: vgic: Avoid double-deactivate of IRQs in the nested context
Farhan Ali (6):
KVM: s390: pci: Reject adapter interrupt forwarding if already enabled
KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
KVM: s390: pci: Fix missing error codes and memory unaccounting
KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
KVM: s390: pci: Fix resource leak on IRQ registration failure
KVM: s390: pci: Validate AIBV and AISB before pinning guest pages
Fuad Tabba (1):
KVM: arm64: Update Fuad Tabba's email address
Jaehoon Kim (1):
KVM: s390: Fall back to short-term pinning in MAP ioctl
Jinu Kim (2):
KVM: x86/mmu: Check write tracking in all address spaces
KVM: x86/mmu: Check all address spaces before skipping unsync
Paolo Bonzini (3):
Merge tag 'kvm-s390-master-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
Merge tag 'kvmarm-fixes-7.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM: VMX: add memory clobber to asm for VMX instructions
Sean Christopherson (1):
KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active
Vincent Donnefort (4):
KVM: arm64: Fix hyp_trace clock disabling
KVM: arm64: Fix potential leak in hyp_trace_buffer_alloc_bpages_backing
KVM: arm64: Fix hyp_trace_desc allocation size in hyp_trace_load()
KVM: arm64: Add missing hyp_enter when trapping sysreg
Weiming Shi (1):
KVM: x86: Cancel delayed I/O APIC EOI handling before destroying vCPUs
.mailmap | 1 +
Documentation/arch/arm64/silicon-errata.rst | 4 +
Documentation/virt/kvm/api.rst | 6 ++
Documentation/virt/kvm/devices/s390_flic.rst | 15 +++-
MAINTAINERS | 2 +-
arch/arm64/include/asm/kvm_hypevents.h | 1 +
arch/arm64/kvm/arm.c | 25 +++++--
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 1 +
arch/arm64/kvm/hyp_trace.c | 36 ++++++---
arch/arm64/kvm/mmu.c | 4 +
arch/arm64/kvm/vgic/vgic-its.c | 25 +++++--
arch/arm64/kvm/vgic/vgic-v3.c | 8 +-
arch/arm64/kvm/vgic/vgic.c | 18 ++---
arch/s390/include/asm/kvm_host.h | 5 ++
arch/s390/kvm/interrupt.c | 56 ++++++++++----
arch/s390/kvm/pci.c | 107 +++++++++++++++++++++------
arch/s390/kvm/pci.h | 2 +
arch/x86/kvm/mmu/mmu.c | 22 +++++-
arch/x86/kvm/mmu/page_track.c | 32 ++++++--
arch/x86/kvm/svm/avic.c | 8 --
arch/x86/kvm/vmx/vmx_ops.h | 8 +-
arch/x86/kvm/x86.c | 6 ++
include/kvm/arm_vgic.h | 3 -
23 files changed, 298 insertions(+), 97 deletions(-)