linux/drivers/misc/cxl
Michael Neuling 7bb5d91a4d cxl: Rework context lifetimes
This reworks contexts lifetimes a bit to enable the kernel API where we may
want to reuse contexts. Here we will want to start and stop contexts without
freeing them.

Start context does the get pid & ctx so stop context will need to do the puts.
Here we move put pid & ctx to the detach context path which will become part of
the stop context path.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-06-03 13:27:19 +10:00
..
base.c
context.c cxl: Rework context lifetimes 2015-06-03 13:27:19 +10:00
cxl.h cxl: Split afu_register_irqs() function 2015-06-03 13:27:19 +10:00
debugfs.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
fault.c cxl: Only check pid for userspace contexts 2015-06-03 13:27:18 +10:00
file.c cxl: Rework context lifetimes 2015-06-03 13:27:19 +10:00
irq.c cxl: Split afu_register_irqs() function 2015-06-03 13:27:19 +10:00
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
main.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
Makefile cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
native.c cxl: Configure PSL for kernel contexts and merge code 2015-06-03 13:27:19 +10:00
pci.c cxl: cxl_afu_reset() -> __cxl_afu_reset() 2015-06-03 13:27:18 +10:00
sysfs.c cxl: cxl_afu_reset() -> __cxl_afu_reset() 2015-06-03 13:27:18 +10:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: Add tracepoints 2015-01-22 17:31:51 +11:00