summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorIan Munsie2016-07-13 23:17:07 +0200
committerMichael Ellerman2016-07-14 12:26:56 +0200
commit317f5ef1b363417b6f1e93b90dfd2ffd6be6e867 (patch)
tree5862178ce957bc4cdeda182221129f044d67d30d /include/misc
parentpowerpc/powernv: Add support for the cxl kernel api on the real phb (diff)
downloadkernel-qcow2-linux-317f5ef1b363417b6f1e93b90dfd2ffd6be6e867.tar.gz
kernel-qcow2-linux-317f5ef1b363417b6f1e93b90dfd2ffd6be6e867.tar.xz
kernel-qcow2-linux-317f5ef1b363417b6f1e93b90dfd2ffd6be6e867.zip
cxl: Add support for using the kernel API with a real PHB
This hooks up support for using the kernel API with a real PHB. After the AFU initialisation has completed it calls into the PHB code to pass it the AFU that will be used by other peer physical functions on the adapter. The cxl_pci_to_afu API is extended to work with peer PCI devices, retrieving the peer AFU from the PHB. This API may also now return an error if it is called on a PCI device that is not associated with either a cxl vPHB or a peer PCI device to an AFU, and this error is propagated down. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions