[PATCH 04/14] cxl: Move cxl_afu_get / cxl_afu_put to base

Frederic Barrat fbarrat at linux.vnet.ibm.com
Thu Jul 7 02:45:09 AEST 2016



Le 04/07/2016 15:22, Ian Munsie a écrit :
> From: Ian Munsie <imunsie at au1.ibm.com>
>
> The Mellanox CX4 uses a model where the AFU is one physical function of
> the device, and is used by other peer physical functions of the same
> device. This will require those other devices to grab a reference on the
> AFU when they are initialised to make sure that it does not go away
> during their lifetime.
>
> Move the AFU refcount functions to base.c so they can be called from
> the PHB code.
>
> 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