summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ocxl/afu_irq.c
Commit message (Collapse)AuthorAgeFilesLines
* ocxl: Add trace pointsFrederic Barrat2018-01-241-0/+5
| | | | | | | | Define a few trace points so that we can use the standard tracing mechanism for debug and/or monitoring. Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
* ocxl: Add AFU interrupt supportFrederic Barrat2018-01-241-0/+197
Add user APIs through ioctl to allocate, free, and be notified of an AFU interrupt. For opencapi, an AFU can trigger an interrupt on the host by sending a specific command targeting a 64-bit object handle. On POWER9, this is implemented by mapping a special page in the address space of a process and a write to that page will trigger an interrupt. Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>