OSDN Git Service

ocxl: Add an IOCTL so userspace knows what OCXL features are available
authorAlastair D'Silva <alastair@d-silva.org>
Fri, 11 May 2018 06:13:02 +0000 (16:13 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:40:32 +0000 (20:40 +1000)
commit02a8e5bc1c06045f36423bd9632ad9f40da18d3f
treee6c82dfe03d4c5639253ed3b058ee67c20a38811
parente948e06fc63a1c1e36ec4c8e5c510b881ff19c26
ocxl: Add an IOCTL so userspace knows what OCXL features are available

In order for a userspace AFU driver to call the POWER9 specific
OCXL_IOCTL_ENABLE_P9_WAIT, it needs to verify that it can actually
make that call.

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