Re: [PATCH v2 7/7] ocxl: Document new OCXL IOCTLs

From: Andrew Donnellan
Date: Wed Apr 18 2018 - 03:30:57 EST


On 18/04/18 11:08, Alastair D'Silva wrote:
From: Alastair D'Silva <alastair@xxxxxxxxxxx>

Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>

This looks better.

Acked-by: Andrew Donnellan <andrew.donnellan@xxxxxxxxxxx>

---
Documentation/accelerators/ocxl.rst | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst
index 7904adcc07fd..3b8d3b99795c 100644
--- a/Documentation/accelerators/ocxl.rst
+++ b/Documentation/accelerators/ocxl.rst
@@ -157,6 +157,17 @@ OCXL_IOCTL_GET_METADATA:
Obtains configuration information from the card, such at the size of
MMIO areas, the AFU version, and the PASID for the current context.
+OCXL_IOCTL_ENABLE_P9_WAIT:
+
+ Allows the AFU to wake a userspace thread executing 'wait'. Returns
+ information to userspace to allow it to configure the AFU. Note that
+ this is only available on Power 9.

Nitpicking time, if you do a v3 you should stay on brand and call it POWER9. :D

+
+OCXL_IOCTL_GET_FEATURES:
+
+ Reports on which CPU features that affect OpenCAPI are usable from
+ userspace.
+
mmap
----


--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@xxxxxxxxxxx IBM Australia Limited