PCI/IOV: Add pci_vf_drivers_autoprobe() interface
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Thu, 9 Nov 2017 14:00:35 +0000 (08:00 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:36 +0000 (13:03 +1100)
commit608c0d8804ef3ca4cda8ec6ad914e47deb283d7b
tree72f7ed3e570c6a926601621f1af161ed65685fd0
parentdae7253f9f78a731755ca20c66b2d2c40b86baea
PCI/IOV: Add pci_vf_drivers_autoprobe() interface

Add a pci_vf_drivers_autoprobe() interface. Setting autoprobe to false
on the PF prevents drivers from binding to VFs when they are enabled.

Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Juan J. Alvarez <jjalvare@linux.vnet.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/pci.c
drivers/pci/iov.c
include/linux/pci.h