[PATCH 0/5] ocxl: Allow external drivers to access LPC memory

From: Alastair D'Silva
Date: Mon Sep 16 2019 - 21:47:18 EST


From: Alastair D'Silva <alastair@xxxxxxxxxxx>

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