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

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Jul 5 12:10:33 AEST 2016

On 04/07/16 23:22, Ian Munsie wrote:
> 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: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited

More information about the Linuxppc-dev mailing list