diff options
author | Jie Li <[email protected]> | 2021-02-01 04:25:59 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-09 12:25:32 +0100 |
commit | 61de21a8315147da08a37ff8db2716739977eadc (patch) | |
tree | e737eccf817324a7ee2edd3d28706c75e6586b95 /scripts/gdb/linux/tasks.py | |
parent | 2fd10bcf0310b9525b2af9e1f7aa9ddd87c3772e (diff) |
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 <[email protected]>
Signed-off-by: Jie Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions