[PATCH 0/5] ocxl: Allow external drivers to access LPC memory
Alastair D'Silva
alastair at au1.ibm.com
Tue Sep 17 11:42:56 AEST 2019
From: Alastair D'Silva <alastair at d-silva.org>
This series provides the prerequisite infrastructure to allow
external drivers to map & access OpenCAPI LPC memory.
Alastair D'Silva (5):
powerpc: Add OPAL calls for LPC memory alloc/release
powerpc: Map & release OpenCAPI LPC memory
ocxl: Tally up the LPC memory on a link & allow it to be mapped
ocxl: Add functions to map/unmap LPC memory
ocxl: Provide additional metadata to userspace
arch/powerpc/include/asm/opal-api.h | 4 +-
arch/powerpc/include/asm/opal.h | 3 ++
arch/powerpc/include/asm/pnv-ocxl.h | 2 +
arch/powerpc/platforms/powernv/ocxl.c | 42 +++++++++++++++
arch/powerpc/platforms/powernv/opal-call.c | 2 +
drivers/misc/ocxl/config.c | 50 ++++++++++++++++++
drivers/misc/ocxl/core.c | 59 +++++++++++++++++++++
drivers/misc/ocxl/file.c | 3 +-
drivers/misc/ocxl/link.c | 61 ++++++++++++++++++++++
drivers/misc/ocxl/ocxl_internal.h | 48 +++++++++++++++++
include/misc/ocxl.h | 19 +++++++
include/uapi/misc/ocxl.h | 9 +++-
12 files changed, 299 insertions(+), 3 deletions(-)
--
2.21.0
More information about the Linuxppc-dev
mailing list