]> www.infradead.org Git - users/hch/misc.git/commit
KVM: x86: Add a helper to deduplicate I/O APIC EOI interception logic
authorSean Christopherson <seanjc@google.com>
Tue, 4 Mar 2025 01:33:34 +0000 (17:33 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 24 Apr 2025 18:18:36 +0000 (11:18 -0700)
commitc2207bbc0c0f4b6ae8dbb73ec26e17aa0c45a3ca
tree99cc20942d965bfd34f09cad9dd8aa5c235ea88c
parentb1f7723a5a5b018f4bc3fb8e234510be7c44ad00
KVM: x86: Add a helper to deduplicate I/O APIC EOI interception logic

Extract the vCPU specific EOI interception logic for I/O APIC emulation
into a common helper for userspace and in-kernel emulation in anticipation
of optimizing the "pending EOI" case.

No functional change intended.

Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250304013335.4155703-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/ioapic.c
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq_comm.c