[04/15] cxl: Move cxl_afu_get / cxl_afu_put to base
mpe at ellerman.id.au
Fri Jul 15 20:53:11 AEST 2016
On Wed, 2016-13-07 at 21:17:03 UTC, 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>
> Reviewed-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
More information about the Linuxppc-dev