]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/pci: Associate PEs to VFs in configure SR-IOV
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Fri, 5 Jan 2018 16:45:51 +0000 (10:45 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 27 Jan 2018 09:02:53 +0000 (20:02 +1100)
commitee51d2e8c5df68db24cbbc09910654d3a2a79033
tree84b54c2c20d72381e35a75467d90638961cef5b5
parentc5b33ce617b5eb501b733bf53d375ead179ba942
powerpc/pseries/pci: Associate PEs to VFs in configure SR-IOV

After initial validation of SR-IOV resources, firmware will associate
PEs to the dynamic VFs created within this call. This patch adds the
association of PEs to the PF array of PE numbers indexed by VF.

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/platforms/pseries/pci.c