[PATCH 07/14] cxl: Add support for using the kernel API with a real PHB

Frederic Barrat fbarrat at linux.vnet.ibm.com
Thu Jul 7 03:39:06 AEST 2016



Le 04/07/2016 15:22, Ian Munsie a écrit :
> From: Ian Munsie <imunsie at au1.ibm.com>
>
> 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 at au1.ibm.com>


Reviewed-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list