[PATCH 0/3] KVM: x86: Clean up lowest priority IRQ code
From: Sean Christopherson
Date: Thu Aug 21 2025 - 17:43:38 EST
Move some local APIC specific code into lapic.c that has no business being
exposed outside of local APIC emulation. The lowest priority vector
hashing code in particular is *very* specific to lapic.c internals, but
that's not at all obvious from the globally-visible symbols.
Sean Christopherson (3):
KVM: x86: Move kvm_irq_delivery_to_apic() from irq.c to lapic.c
KVM: x86: Make "lowest priority" helpers local to lapic.c
KVM: x86: Move vector_hashing into lapic.c
arch/x86/kvm/irq.c | 57 ------------------------------
arch/x86/kvm/irq.h | 4 ---
arch/x86/kvm/lapic.c | 82 +++++++++++++++++++++++++++++++++++++++-----
arch/x86/kvm/lapic.h | 12 ++-----
arch/x86/kvm/x86.c | 8 -----
arch/x86/kvm/x86.h | 1 -
6 files changed, 77 insertions(+), 87 deletions(-)
base-commit: 9c7a1f8d8784e17bb6e0df4f616fbd8daae02919
--
2.51.0.261.g7ce5a0a67e-goog