linux/drivers/misc/cxl
Christophe Lombard 14baf4d9c7 cxl: Add guest-specific code
The new of.c file contains code to parse the device tree to find out
about cxl adapters and AFUs.

guest.c implements the guest-specific callbacks for the backend API.

The process element ID is not known until the context is attached, so
we have to separate the context ID assigned by the cxl driver from the
process element ID visible to the user applications. In bare-metal,
the 2 IDs match.

Co-authored-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
[mpe: Fix SMP=n build, fix PSERIES=n build, minor whitespace fixes]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-03-09 23:36:52 +11:00
..
api.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
base.c cxl: Move include file cxl.h -> cxl-base.h 2015-06-03 13:27:19 +10:00
context.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
cxl.h cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
debugfs.c cxl: Isolate a few bare-metal-specific calls 2016-03-09 13:05:47 +11:00
fault.c cxl: Isolate a few bare-metal-specific calls 2016-03-09 13:05:47 +11:00
file.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
guest.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
hcalls.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
hcalls.h cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
irq.c cxl: Separate bare-metal fields in adapter and AFU data structures 2016-03-09 13:05:54 +11:00
Kconfig cxl: Add CONFIG_CXL_EEH symbol 2015-08-17 13:56:29 +10:00
main.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
Makefile cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
native.c cxl: Separate bare-metal fields in adapter and AFU data structures 2016-03-09 13:05:54 +11:00
of.c cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
pci.c cxl: Separate bare-metal fields in adapter and AFU data structures 2016-03-09 13:05:54 +11:00
sysfs.c cxl: Separate bare-metal fields in adapter and AFU data structures 2016-03-09 13:05:54 +11:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: use more common format specifier 2015-07-13 10:10:54 +10:00
vphb.c cxl: Separate bare-metal fields in adapter and AFU data structures 2016-03-09 13:05:54 +11:00