]> git.baikalelectronics.ru Git - kernel.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)
commit99e3f58c67a6e14d10bd6edd7037fff47766d337
tree8aa9384043b4c15a71170dd1973e27b443de4436
parentcc128b95686f15d79864f2a3c47f5bacfc784a86
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