]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Mar 2018 19:51:16 +0000 (14:51 -0500)
commit2afc3f845738218c2ad7c988caa70aa3921f6a74
tree5bc821409922bee922383a20fc8b94ce0443b996
parent994c994544f7709b3e9c149c91410ba6c89feaab
ocxl: Add get_metadata IOCTL to share OCXL information to userspace

BugLink: http://bugs.launchpad.net/bugs/1755161
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>
(cherry picked from commit 07c5ccd70ad702e561fcda8e4df494f098a42742)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/misc/ocxl/file.c
include/uapi/misc/ocxl.h