]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge tag 'kvm-x86-apic-6.7' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 31 Oct 2023 14:11:19 +0000 (10:11 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 31 Oct 2023 14:11:19 +0000 (10:11 -0400)
commitf23364676018db8432f91c6247a30529195aff60
treebc974e613af7272e3d0a68e7b34cd0d036e6c84a
parent140139c5bd9f0f95706a6138fc41bfa59792695e
parent629d3698f6958ee6f8131ea324af794f973b12ac
Merge tag 'kvm-x86-apic-6.7' of https://github.com/kvm-x86/linux into HEAD

KVM x86 APIC changes for 6.7:

 - Purge VMX's posted interrupt descriptor *before* loading APIC state when
   handling KVM_SET_LAPIC.  Purging the PID after loading APIC state results in
   lost APIC timer IRQs as the APIC timer can be armed as part of loading APIC
   state, i.e. can immediately pend an IRQ if the expiry is in the past.

 - Clear the ICR.BUSY bit when handling trap-like x2APIC writes.  This avoids a
   WARN, due to KVM expecting the BUSY bit to be cleared when sending IPIs.
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c