On Sun, Jun 30, 2013 at 09:09:20AM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2013-06-28 at 21:10 +0800, Gavin Shan wrote: > > The issue was introduced by commit 37f02195 ("powerpc/pci: fix > > PCI-e devices rescan issue on powerpc platform"). The field > > (struct pci_dev::irq) is reused by PCI core to trace the base > > MSI interrupt number if the MSI stuff is enabled on the corresponding > > device. When running to pcibios_setup_device(), we possibly still > > have enabled MSI interrupt on the device. That means "pci_dev->irq" > > still have the base MSI interrupt number and it will be overwritten > > if we're going fix "pci_dev->irq" again by pci_read_irq_line(). > > Eventually, when we enable the device, it runs to kernel crash caused > > by fetching the the MSI interrupt descriptor (struct msi_desc) from > > non-MSI interrupt and using the NULL descriptor. > > So finally I decided instead to apply Guenter patch > > [PATCH v2] powerpc/pci: Improve device hotplug initialization > > Which fixes the underlying problem instead. >
Guess I am not hitting above bug because I have my own patch applied ;). Thanks a lot! Guenter _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev