Re: PCI device driver broken between 4.2 and 4.3

From: Yinghai Lu
Date: Sat Jan 30 2016 - 01:16:11 EST


On Fri, Jan 29, 2016 at 8:31 AM, Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
>
> 991de2e59090 is related to IRQs, so I'd start by printing dev->irq in your
> driver before and after you call pci_enable_device(). Add some printks in
> pcibios_alloc_irq() and pcibios_enable_device() just to confirm that we got
> there and when, e.g., add lines like this:

looks like that commit removed pcibios_enable_irq for parent bridge.

pci_enable_device==>pci_enable_bridge==>pci_enable_device==>pcibios_enable_device
==>pcibios_enable_irq without msi enabled.

so pci=routeirq may workaround the problem.

Thanks

Yinghai