diff options
author | Alastair D'Silva <alastair@d-silva.org> | 2019-03-27 16:31:32 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 02:55:01 +1000 |
commit | 75ca758adbafc81804c39b2c200ecdc819a6c042 (patch) | |
tree | 091664d0900e1c6ede2fad272f1561bee354a339 /drivers/rapidio | |
parent | 2f7d3d1453813cda13e5bace24093eac22cb5e61 (diff) |
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>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions