ocxl: Allow external drivers to use OpenCAPI contexts
authorAlastair D'Silva <alastair@d-silva.org>
Wed, 27 Mar 2019 05:31:33 +0000 (16:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:55:02 +0000 (02:55 +1000)
commitb9721d275cc2c5e6c07371239c827e0faf05a6b9
tree06ac877469c44d3c14a93a013440150818c6567a
parent75ca758adbafc81804c39b2c200ecdc819a6c042
ocxl: Allow external drivers to use OpenCAPI contexts

Most OpenCAPI operations require a valid context, so
exposing these functions to external drivers is necessary.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/ocxl/context.c
drivers/misc/ocxl/file.c
drivers/misc/ocxl/ocxl_internal.h
include/misc/ocxl.h