]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80326618633ab566e12fc3668784ab641422ce22
tree8990a1db974693ed6cc466e5b499fa1f535351e0
parentba26df3ad7685ce7b26cb599c2f463748c4ade4b
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