Problems with uio_pci_generic in v4.18-rc8

From: Harris, James R
Date: Fri Aug 10 2018 - 17:12:24 EST


Hi,
Â
Using Linux kernel v4.18-rc8, I am unable to bind a PCI device to uio_pci_generic.ÂÂThis works fine with v4.18-rc4.ÂÂdmesg shows:
Â
[ÂÂ336.221585] genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 33
[ÂÂ336.221681] uio_pci_generic: probe of 0000:04:00.0 failed with error -22
Â
This problem has been reproduced on multiple systems.
Â
This seems to be related to commit 9421e45f5 (âuio: use request_threaded_irq insteadâ) which was merged in -rc5.ÂÂReverting this commit fixes the issue (I also reverted 543af5861f and 57c5f4df0a which also touch uio.c - just to be safe).
Â
This seems like a serious regression to uio_pci_generic, but any tips or pointers would be appreciated.
Â
Thanks,
Â
Jim Harris