Message ID | 20180222041739.27899-3-alastair@au1.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e7666d046ac0eda535282a5fd3b188f31d0f4afd |
Headers | show |
Series | Add get_metadata IOCTL to share OCXL information to userspace | expand |
On 22/02/18 15:17, 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>
Le 22/02/2018 à 05:17, 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 | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst > index 4f7af841d935..ddcc58d01cfb 100644 > --- a/Documentation/accelerators/ocxl.rst > +++ b/Documentation/accelerators/ocxl.rst > @@ -152,6 +152,11 @@ OCXL_IOCTL_IRQ_SET_FD: > Associate an event fd to an AFU interrupt so that the user process > can be notified when the AFU sends an interrupt. > > +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. > + > > mmap > ---- >
diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst index 4f7af841d935..ddcc58d01cfb 100644 --- a/Documentation/accelerators/ocxl.rst +++ b/Documentation/accelerators/ocxl.rst @@ -152,6 +152,11 @@ OCXL_IOCTL_IRQ_SET_FD: Associate an event fd to an AFU interrupt so that the user process can be notified when the AFU sends an interrupt. +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. + mmap ----