On Mon, Feb 11, 2013 at 5:02 AM, Peter Hurley wrote: > On Sun, 2013-02-10 at 22:40 -0800, Yinghai Lu wrote: >> On Sun, Feb 10, 2013 at 12:33 PM, Yinghai Lu wrote: >> > On Sun, Feb 10, 2013 at 6:23 AM, Peter Hurley wrote: >> >> On Sat, 2013-02-09 at 22:14 -0500, Peter Hurley wrote: >> >>> On Tue, 2013-02-05 at 15:26 -0500, Alan Stern wrote: >> >>> > On Tue, 5 Feb 2013, Peter Hurley wrote: >> >>> > >> >>> > > With -next-20130204: >> >>> > > >> >>> > > [ 33.855570] irq 18: nobody cared (try booting with the "irqpoll" option) >> >>> > > [ 33.855580] Pid: 0, comm: swapper/4 Not tainted 3.8.0-next-20130204-xeon #20130204 >> >>> > > [ 33.855582] Call Trace: >> >>> > > [ 33.855585] [] __report_bad_irq+0x36/0xe0 >> >>> > > [ 33.855600] [] note_interrupt+0x1aa/0x200 >> >>> > > [ 33.855606] [] ? mwait_idle+0x82/0x1b0 >> >>> > > [ 33.855610] [] handle_irq_event_percpu+0xc9/0x260 >> >>> > > [ 33.855614] [] handle_irq_event+0x48/0x70 >> >>> > > [ 33.855618] [] handle_fasteoi_irq+0x5a/0x100 >> >>> > > [ 33.855624] [] handle_irq+0x22/0x40 >> >>> > > [ 33.855630] [] do_IRQ+0x5a/0xd0 >> >>> > > [ 33.855636] [] common_interrupt+0x6d/0x6d >> >>> > > [ 33.855638] [] ? rcu_eqs_enter_common+0x4a/0x320 >> >>> > > [ 33.855646] [] ? mwait_idle+0x82/0x1b0 >> >>> > > [ 33.855649] [] ? mwait_idle+0x29/0x1b0 >> >>> > > [ 33.855653] [] cpu_idle+0x116/0x130 >> >>> > > [ 33.855658] [] start_secondary+0x251/0x258 >> >>> > > [ 33.855660] handlers: >> >>> > > [ 33.855664] [] usb_hcd_irq >> >>> > > [ 33.855667] Disabling IRQ #18 >> >>> > > >> >> https://bugzilla.kernel.org/show_bug.cgi?id=53561 >> >> >> >> Maybe this is some interaction with all the new ACPI code and fixes >> >> written in those 8 days. >> > >> > interrupt routing seems get changed: >> > next: >> > 5: 0 0 0 0 0 >> > 0 0 0 IO-APIC-fasteoi snd_ctxfi >> > 18: 99970 13 16 20 99940 >> > 13 13 16 IO-APIC-fasteoi uhci_hcd:usb4 >> > v3.8-rc7: >> > 18: 424 15 11 112 420 >> > 16 18 105 IO-APIC-fasteoi uhci_hcd:usb4, snd_ctxfi >> > >> > These messages in the bad dmesg log are interesting since PCI INT A is routed >> > on >> > irq 18 with the kernels that work. >> > [ 8.983246] pci 0000:00:1e.0: can't derive routing for PCI INT A >> > [ 8.983600] snd_ctxfi 0000:09:02.0: PCI INT A: no GSI - using ISA IRQ 5 >> > ... >> > >> > acpi_pci_irq_add_prt() add wrong bus for that bridge, because that >> > that bridge is not scanned. >> > >> > Will check if I can produce one patch for it. >> >> Hi Peter, >> >> Can you try attached debug patch? > > Fixed, thanks. Bjorn, Rafael, acpi_pci_irq_add_prt need to be called after pci bridge get scanned, so we can not call it from pci_acpi_setup, after we move dev_register for pci_dev early. The attached debug patch move down that calling into pci_bus_add_devices and that will make prt works again. Can acpi provide another hook after bridge get scanned? Thanks Yinghai