Re: [PATCH 4/4] x86/pci: update pirq_enable_irq to setup io apicrouting -v2

From: Jesse Barnes
Date: Wed May 06 2009 - 11:49:40 EST


On Wed, 6 May 2009 14:45:58 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>
> > so we could set io apic routing only when enable device irq.
> >
> > also could make setup_IO_APIC_irqs and setup_ioapic_dest only handle
> > first ioapic...
> >
> > v2: remove one one not needed style change.
> > merge the patch only setup io_apic for acpi on in
> > setup_IO_APIC_irqs
> >
> > [ Impact: make mptable irq enable more like acpi is used, and
> > numa_irq_desc could get correct node when acpi=off ]
> >
> > Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
> >
> > ---
> > arch/x86/kernel/apic/io_apic.c | 148
> > ++++++++++++++++++++---------------------
> > arch/x86/pci/irq.c | 84 ++++++++--------------- 2
> > files changed, 103 insertions(+), 129 deletions(-)
>
> Ok, i guess this makes sense with acpi-less bootup modes.
>
> There's hefty impact on io_apic.c and pci/irq.c as well. The io-apic
> code already has a fair amount of changes queued up. Jesse: do you
> have pci/irq.c changes queued up? If you agree with the patch, how
> should we handle this?

No I don't have anything recent... and since this stuff is intertwined
with the io_apic changes I'm fine with it going through you guys.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/