powerpc/pci: Separate SR-IOV Calls
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Thu, 9 Nov 2017 14:00:33 +0000 (08:00 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:35 +0000 (13:03 +1100)
commit988fc3ba5653278a8c14d6ccf687371775930d2b
tree2c08cc00f12d9d430882bcdac71feef68b3558b6
parent5c45b5280196a92c4437f5648209c5bd3f08e882
powerpc/pci: Separate SR-IOV Calls

SR-IOV can now be enabled for the powernv platform and pseries
platform. Therefore move the appropriate calls to machine dependent
code instead of relying on definition at compile time.

Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Juan J. Alvarez <jjalvare@us.ibm.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/include/asm/machdep.h
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/eeh_driver.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_dn.c
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/powernv/pci-ioda.c