]> asedeno.scripts.mit.edu Git - linux.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)
commitfc5f622163637308a3d520a315527481cff023f5
tree637d79212c57de063faef66b9bcd99c320343905
parent9a7f6b438664ed79dacdd345269aed429218d091
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