habanalabs: add support for a long interrupt target value
authorOfir Bitton <obitton@habana.ai>
Thu, 23 Sep 2021 09:02:23 +0000 (12:02 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 18 Oct 2021 09:05:46 +0000 (12:05 +0300)
commitd62b9a6976cdac30a3af745de1f935ffe246fcdd
tree13881e497ab17e0884c2e9038b1c21aa7e721ce6
parent027d53b03ca1fe55ea9356ffdb7296432d236e59
habanalabs: add support for a long interrupt target value

In order to avoid user target value wraparound, we modify the
current interface so user will be able to wait for an 8-byte
target value rather than a 4-byte value.

Signed-off-by: Ofir Bitton <obitton@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