[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821214209.3463350-1-seanjc@google.com>
Date: Thu, 21 Aug 2025 14:42:06 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] KVM: x86: Clean up lowest priority IRQ code
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
Powered by blists - more mailing lists