Skip to content

KVM: x86: Clean up lowest priority IRQ code

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Applied to kvm-x86 misc, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: x86: Move kvm_irq_delivery_to_apic() from irq.c to lapic.carch/x86/kvm/irq.c arch/x86/kvm/irq.h arch/x86/kvm/lapic.c +1 more+60 -610 replies
2/3KVM: x86: Make "lowest priority" helpers local to lapic.carch/x86/kvm/lapic.c arch/x86/kvm/lapic.h+12 -160 replies
3/3KVM: x86: Move vector_hashing into lapic.carch/x86/kvm/lapic.c arch/x86/kvm/x86.c arch/x86/kvm/x86.h+6 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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

Signature · 1 line
2.51.0.261.g7ce5a0a67e-goog