PCI IRQ issue since 4.2 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

We became aware of an issue with our Linux drivers when used with a 4.4
kernel.  These drivers had worked previously from 2.6.35 to 4.2 kernels.
The symptoms were that, even though the request_irq() call was
successful, we did not receive any IRQs.  IRQs did arrive on a different
IRQ line, however, and the kernel disabled that line because there was
no handler.

I can elaborate on this more if you'd like.

With Greg K-H's help, I found the commit where this issue first appears.
He told me to email the people listed in the commit and the pci mailing
list.

Is there something different I need to be doing when I request an IRQ
for my PCI device driver?  I checked the 4.2, 4.3, and 4.4 kernel change
logs and did not see anything obvious about the IRQ request process
changing.

Please let me know how to proceed next.

Thank you,

Rob

 -----------------------------------------------------------------------
 rtd@kernel-dev:~/git/kernels/linux$ git bisect good
 991de2e59090e55c65a7f59a049142e3c480f7bd is the first bad commit
 commit 991de2e59090e55c65a7f59a049142e3c480f7bd
 Author: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>
 Date:   Wed Jun 10 16:54:59 2015 +0800
 
     PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()
     
     To support IOAPIC hotplug, we need to allocate PCI IRQ resources on
 demand
     and free them when not used anymore.
     
     Implement pcibios_alloc_irq() and pcibios_free_irq() to dynamically
     allocate and free PCI IRQs.
     
     Remove mp_should_keep_irq(), which is no longer used.
     
     [bhelgaas: changelog]
     Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>
     Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
     Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
 
 :040000 040000 765e2d5232d53247ec260b34b51589c3bccb36ae
 f680234a27685e94b1a35ae2a7218f8eafa9071a M    arch
 :040000 040000 d55a682bcde72682e883365e88ad1df6186fd54d
 f82c470a04a6845fcf5e0aa934512c75628f798d M    drivers
 ----------------------------------------------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux