drivers/vfio: Enable VFIO if EEH is not supported
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 8 Aug 2014 16:39:16 +0000 (10:39 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 8 Aug 2014 16:39:16 +0000 (10:39 -0600)
commit9b936c960f22954bfb89f2fefd8f96916bb42908
tree2aa14e34174866e259a9336b02682ec9b2844225
parent89a2edd62fe5983fa8648f8a3c3cd025c6aea584
drivers/vfio: Enable VFIO if EEH is not supported

The existing vfio_pci_open() fails upon error returned from
vfio_spapr_pci_eeh_open(), which breaks POWER7's P5IOC2 PHB
support which this patch brings back.

The patch fixes the issue by dropping the return value of
vfio_spapr_pci_eeh_open().

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c
drivers/vfio/vfio_spapr_eeh.c
include/linux/vfio.h