WSL2-Linux-Kernel/drivers/uio
Jie Li 61de21a831 uio: uio_pci_generic: don't fail probe if pdev->irq equals to IRQ_NOTCONNECTED
Some devices use 255 as default value of Interrupt Line register, and this
maybe causes pdev->irq is set as IRQ_NOTCONNECTED in some scenarios. For
example, NVMe controller connects to Intel Volume Management Device (VMD).
In this situation, IRQ_NOTCONNECTED means INTx line is not connected, not
fault. If bind uio_pci_generic to these devices, uio frame will return
-ENOTCONN through request_irq.

This patch allows binding uio_pci_generic to device with dev->irq of
IRQ_NOTCONNECTED.

Acked-by: Kyungsan Kim <ks0204.kim@samsung.com>
Signed-off-by: Jie Li <jie6.li@samsung.com>
Link: https://lore.kernel.org/r/1612153559-17028-1-git-send-email-jie6.li@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-09 12:25:32 +01:00
..
Kconfig
Makefile
uio.c Merge 5.10-rc4 into char-misc-next 2020-11-16 09:18:46 +01:00
uio_aec.c uio: uio_aec: use devm_kzalloc() for uio_info object 2020-12-09 19:59:00 +01:00
uio_cif.c uio: uio_cif: use devm_kzalloc() for uio_info object 2020-12-09 19:59:00 +01:00
uio_dmem_genirq.c uio: uio_dmem_genirq: finalize conversion of probe to devm_ handlers 2020-12-09 19:58:22 +01:00
uio_fsl_elbc_gpcm.c uio: uio_fsl_elbc_gpcm: use device-managed allocators 2020-12-09 19:59:00 +01:00
uio_hv_generic.c uio: uio_hv_generic: use devm_kzalloc() for private data alloc 2020-12-09 19:59:00 +01:00
uio_mf624.c uio: uio_mf624: use devm_kzalloc() for uio_info object 2020-12-09 19:58:54 +01:00
uio_netx.c uio: uio_netx: use devm_kzalloc() for or uio_info object 2020-12-09 19:58:54 +01:00
uio_pci_generic.c uio: uio_pci_generic: don't fail probe if pdev->irq equals to IRQ_NOTCONNECTED 2021-02-09 12:25:32 +01:00
uio_pdrv_genirq.c
uio_pruss.c uio: pruss: use devm_clk_get() for clk init 2020-12-09 19:57:03 +01:00
uio_sercos3.c uio: uio_sercos3: use device-managed functions for simple allocs 2020-12-09 19:58:54 +01:00