]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0edd0b3066976b23fb44743cde29b1783a53a485
tree2aa14e34174866e259a9336b02682ec9b2844225
parente15dca66c2bc5f1db771fbdc3342855c5141f845
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