]> asedeno.scripts.mit.edu Git - linux.git/commit
ocxl: Add get_metadata IOCTL to share OCXL information to userspace
authorAlastair D'Silva <alastair@d-silva.org>
Thu, 22 Feb 2018 04:17:38 +0000 (15:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Mar 2018 02:02:14 +0000 (13:02 +1100)
commit07c5ccd70ad702e561fcda8e4df494f098a42742
tree8aa9384043b4c15a71170dd1973e27b443de4436
parentcd4a6f3ab4d80cb919d15897eb3cbc85c2009d4b
ocxl: Add get_metadata IOCTL to share OCXL information to userspace

Some required information is not exposed to userspace currently (eg. the
PASID), pass this information back, along with other information which
is currently communicated via sysfs, which saves some parsing effort in
userspace.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/ocxl/file.c
include/uapi/misc/ocxl.h