[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250523162504.3281680-2-seanjc@google.com>
Date: Fri, 23 May 2025 09:24:58 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>
Subject: [GIT PULL] KVM: x86: Misc changes for 6.16
Nothing major, the most interesting change is an optimization to rescan I/O
APIC routes after an EOI VM-Exit when an interception of the EOI was necessary
only because of an in-flight IRQ from the previous routing.
The following changes since commit 45eb29140e68ffe8e93a5471006858a018480a45:
Merge branch 'kvm-fixes-6.15-rc4' into HEAD (2025-04-24 13:39:34 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-misc-6.16
for you to fetch changes up to 37d8bad41d2b0a7d269affb85979a8e4114e177a:
KVM: Remove obsolete comment about locking for kvm_io_bus_read/write (2025-05-08 07:16:15 -0700)
----------------------------------------------------------------
KVM x86 misc changes for 6.16:
- Unify virtualization of IBRS on nested VM-Exit, and cross-vCPU IBPB, between
SVM and VMX.
- Advertise support to userspace for WRMSRNS and PREFETCHI.
- Rescan I/O APIC routes after handling EOI that needed to be intercepted due
to the old/previous routing, but not the new/current routing.
- Add a module param to control and enumerate support for device posted
interrupts.
- Misc cleanups.
----------------------------------------------------------------
Babu Moger (1):
KVM: x86: Advertise support for AMD's PREFETCHI
Borislav Petkov (1):
KVM: x86: Sort CPUID_8000_0021_EAX leaf bits properly
Dan Carpenter (1):
KVM: x86: clean up a return
Li RongQing (1):
KVM: Remove obsolete comment about locking for kvm_io_bus_read/write
Sean Christopherson (7):
x86/msr: Rename the WRMSRNS opcode macro to ASM_WRMSRNS (for KVM)
KVM: x86: Advertise support for WRMSRNS
KVM: x86: Isolate edge vs. level check in userspace I/O APIC route scanning
KVM: x86: Add a helper to deduplicate I/O APIC EOI interception logic
KVM: VMX: Don't send UNBLOCK when starting device assignment without APICv
KVM: x86: Add module param to control and enumerate device posted IRQs
KVM: x86: Unify cross-vCPU IBPB
Yosry Ahmed (4):
x86/cpufeatures: Define X86_FEATURE_AMD_IBRS_SAME_MODE
KVM: x86: Propagate AMD's IbrsSameMode to the guest
KVM: x86: Generalize IBRS virtualization on emulated VM-exit
KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs
weizijie (1):
KVM: x86: Rescan I/O APIC routes after EOI interception for old routing
arch/x86/include/asm/cpufeatures.h | 2 ++
arch/x86/include/asm/kvm_host.h | 4 +++-
arch/x86/include/asm/msr.h | 4 ++--
arch/x86/kvm/cpuid.c | 8 ++++++-
arch/x86/kvm/ioapic.c | 7 ++----
arch/x86/kvm/ioapic.h | 2 ++
arch/x86/kvm/irq_comm.c | 37 +++++++++++++++++++++++++++-----
arch/x86/kvm/lapic.c | 8 +++++++
arch/x86/kvm/svm/nested.c | 2 ++
arch/x86/kvm/svm/svm.c | 27 ++---------------------
arch/x86/kvm/svm/svm.h | 2 --
arch/x86/kvm/vmx/nested.c | 17 ++++-----------
arch/x86/kvm/vmx/posted_intr.c | 7 +++---
arch/x86/kvm/vmx/vmx.c | 18 ++++------------
arch/x86/kvm/vmx/vmx.h | 3 +--
arch/x86/kvm/x86.c | 29 +++++++++++++++++++++++--
arch/x86/kvm/x86.h | 18 ++++++++++++++++
tools/arch/x86/include/asm/cpufeatures.h | 1 +
virt/kvm/kvm_main.c | 3 ---
19 files changed, 120 insertions(+), 79 deletions(-)
Powered by blists - more mailing lists