OpenCloudOS-Kernel/include/uapi/misc
Tal Cohen 422ef17103 habanalabs: add support for notification via eventfd
The driver will be able to send notification events towards
a user process, using user's registered event file descriptor.
The driver uses the notification mechanism to inform the
user about an occurred event.
A user thread can wait until a notification is received from
the driver.

The driver stores the occurred event until the user reads it,
using HL_INFO_GET_EVENTS - new ioctl opcode in the INFO ioctl.

Gaudi specific implementation includes sending a notification
on a TPC assertion event that is received from f/w.

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-22 21:01:20 +02:00
..
uacce crypto: hisilicon/qm - add queue isolation support for Kunpeng930 2021-03-26 20:15:58 +11:00
cxl.h cxl: Add support for ASB_Notify on POWER9 2018-01-19 23:19:37 +11:00
fastrpc.h misc: fastrpc: Add support to secure memory map 2022-03-18 14:11:00 +01:00
habanalabs.h habanalabs: add support for notification via eventfd 2022-05-22 21:01:20 +02:00
ocxl.h ocxl: do not use C++ style comments in uapi header 2019-06-14 15:35:53 +10:00
pvpanic.h misc: pvpanic: add crash loaded event 2020-01-14 15:07:37 +01:00
xilinx_sdfec.h misc: xilinx_sdfec: Add stats & status ioctls 2019-08-15 17:54:38 +02:00