]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0a0af7476c75ee55d0c1e5a196961dbed46b2f0
tree72f7ed3e570c6a926601621f1af161ed65685fd0
parent2f85047eada6d0d383c4d1a2b83dbdc64bbdda2c
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