mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] KVM: x86: Clean up lowest priority IRQ code
Date: Thu, 21 Aug 2025 14:42:06 -0700	[thread overview]
Message-ID: <20250821214209.3463350-1-seanjc@google.com> (raw)

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


             reply	other threads:[~2025-08-21 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-21 21:42 Sean Christopherson [this message]
2025-08-21 21:42 ` [PATCH 1/3] KVM: x86: Move kvm_irq_delivery_to_apic() from irq.c to lapic.c Sean Christopherson
2025-08-21 21:42 ` [PATCH 2/3] KVM: x86: Make "lowest priority" helpers local " Sean Christopherson
2025-08-21 21:42 ` [PATCH 3/3] KVM: x86: Move vector_hashing into lapic.c Sean Christopherson
2025-09-16  0:25 ` [PATCH 0/3] KVM: x86: Clean up lowest priority IRQ code Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250821214209.3463350-1-seanjc@google.com \
    --to=seanjc@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®