Re: cxl: Fix refcounting in kernel API

2015-07-08 Thread Michael Ellerman
On Tue, 2015-07-07 at 01:01:17 UTC, Michael Neuling wrote: > Currently the kernel API AFU dev refcounting is done on context start and > stop. > This patch moves this refcounting to context init and release, bringing it > inline with how the userspace API does it. > > Without this we've seen the

Re: [PATCH] cxl: Fix refcounting in kernel API

2015-07-06 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] cxl: Fix refcounting in kernel API

2015-07-06 Thread Michael Neuling
Currently the kernel API AFU dev refcounting is done on context start and stop. This patch moves this refcounting to context init and release, bringing it inline with how the userspace API does it. Without this we've seen the refcounting on the AFU get out of whack between the user and kernel API