Message ID | 20180511061303.10728-8-alastair@au1.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 721c551d31fb441ff3be701ad3be14cf6e0aca3f |
Headers | show |
Series | ocxl: Implement Power9 as_notify/wait for OpenCAPI | expand |
Le 11/05/2018 à 08:13, Alastair D'Silva a écrit : > From: Alastair D'Silva <alastair@d-silva.org> > > Signed-off-by: Alastair D'Silva <alastair@d-silva.org> > --- Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> > Documentation/accelerators/ocxl.rst | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst > index ddcc58d01cfb..14cefc020e2d 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 POWER9. > + > +OCXL_IOCTL_GET_FEATURES: > + > + Reports on which CPU features that affect OpenCAPI are usable from > + userspace. > + > > mmap > ---- >
On 11/05/18 16:13, Alastair D'Silva wrote: > From: Alastair D'Silva <alastair@d-silva.org> > > Signed-off-by: Alastair D'Silva <alastair@d-silva.org> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst index ddcc58d01cfb..14cefc020e2d 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 POWER9. + +OCXL_IOCTL_GET_FEATURES: + + Reports on which CPU features that affect OpenCAPI are usable from + userspace. + mmap ----