linux/drivers/misc/ocxl
Alastair D'Silva 75ca758adb ocxl: Create a clear delineation between ocxl backend & frontend
The OCXL driver contains both frontend code for interacting with userspace,
as well as backend code for interacting with the hardware.

This patch separates the backend code from the frontend so that it can be
used by other device drivers that communicate via OpenCAPI.

Relocate dev, cdev & sysfs files to the frontend code to allow external
drivers to maintain their own devices.

Reference counting on the device in the backend is replaced with kref
counting.

Move file & sysfs layer initialisation from core.c (backend) to
pci.c (frontend).

Create an ocxl_function oriented interface for initing devices &
enumerating AFUs.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-05-03 02:55:01 +10:00
..
afu_irq.c ocxl/afu_irq: Don't include <asm/pnv-ocxl.h> 2018-12-20 22:21:20 +11:00
config.c ocxl: Remove some unused exported symbols 2019-05-03 02:55:01 +10:00
context.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
core.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
file.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
Kconfig ocxl: Add Makefile and Kconfig 2018-01-24 11:42:59 +11:00
link.c ocxl: Rename struct link to ocxl_link 2019-05-03 02:55:00 +10:00
main.c
Makefile ocxl: Split pci.c 2019-05-03 02:55:01 +10:00
ocxl_internal.h ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
pasid.c
pci.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
sysfs.c ocxl: Create a clear delineation between ocxl backend & frontend 2019-05-03 02:55:01 +10:00
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: Add trace points 2018-01-24 11:42:59 +11:00