Home
last modified time | relevance | path

Searched hist:acec09e67dc450d09a912735855326c3f1146a37 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/uio/
H A Duio_pci_generic.cdiff acec09e67dc450d09a912735855326c3f1146a37 Tue May 02 16:20:59 CEST 2017 Jim Harris <james.r.harris@intel.com> uio/uio_pci_generic: don't fail probe if pdev->irq == NULL

Some userspace drivers and frameworks only poll and do not
require interrupts to be available and enabled on the
PCI device. So remove the requirement that an IRQ is
assigned. If an IRQ is not assigned and a userspace
driver tries to read()/write(), the generic uio
framework will just return -EIO.

This allows binding uio_pci_generic to devices which
cannot get an IRQ assigned, such as an NVMe controller
behind Intel Volume Management Device (VMD), since VMD
does not support INTx interrupts.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>