[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ea1d6b073505ac75af2dffd7776ccb00969841f.camel@intel.com>
Date: Thu, 12 Jun 2025 02:27:29 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "pbonzini@...hat.com" <pbonzini@...hat.com>, "seanjc@...gle.com"
<seanjc@...gle.com>, "vkuznets@...hat.com" <vkuznets@...hat.com>
CC: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 08/18] KVM: x86: Move kvm_setup_default_irq_routing()
into irq.c
On Wed, 2025-06-11 at 14:35 -0700, Sean Christopherson wrote:
> Move the default IRQ routing table used for in-kernel I/O APIC and PIC
> routing to irq.c, and tweak the name to make it explicitly clear what
> routing is being initialized.
>
> In addition to making it more obvious that the so called "default" routing
> only applies to an in-kernel I/O APIC, getting it out of irq_comm.c will
> allow removing irq_comm.c entirely. And placing the function alongside
> other I/O APIC and PIC code will allow for guarding KVM's in-kernel I/O
> APIC and PIC emulation with a Kconfig with minimal #ifdefs.
>
> No functional change intended.
>
> Cc: Kai Huang <kai.huang@...el.com>
> Signed-off-by: Sean Christopherson <seanjc@...gle.com>
>
Acked-by: Kai Huang <kai.huang@...el.com>
Powered by blists - more mailing lists