habanalabs: send an event notification when CS timeout occurs
authorTal Cohen <talcohen@habana.ai>
Thu, 19 May 2022 15:00:55 +0000 (18:00 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:22 +0000 (09:09 +0300)
commitfa9deaca2f9123b1749ea81bbeb12778645af580
tree8990a1db974693ed6cc466e5b499fa1f535351e0
parent969202e5cb62531ed73beb318c7139f1364356cb
habanalabs: send an event notification when CS timeout occurs

The Driver needs to inform the User process whenever one of its
CS is timed out. The Driver shall recognize the CS timeout and shall
send an eventfd notification, towards user space, whenever a timeout
is expired on a CS.

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c
include/uapi/misc/habanalabs.h