]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add Initialization of VF Bars
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Fri, 5 Jan 2018 16:45:52 +0000 (10:45 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 27 Jan 2018 09:02:53 +0000 (20:02 +1100)
commit0fd147b5e4402632763d91d0f3182cd6b2fceb28
tree637d79212c57de063faef66b9bcd99c320343905
parentee51d2e8c5df68db24cbbc09910654d3a2a79033
powerpc/pseries: Add Initialization of VF Bars

When enabling SR-IOV in pseries platform, the VF bar properties for a
PF are reported on the device node in the device tree.

This patch adds the IOV Bar resources to Linux structures from the
device tree for later use when configuring SR-IOV by PF driver.

Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Juan J. Alvarez <jjalvare@linux.vnet.ibm.com>
Acked-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci.h
arch/powerpc/kernel/pci_of_scan.c
arch/powerpc/platforms/pseries/setup.c