accel/habanalabs: set default device release watchdog T/O as 30 sec
authorTomer Tayar <ttayar@habana.ai>
Tue, 13 Jun 2023 14:29:14 +0000 (17:29 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:19 +0000 (12:37 +0300)
commit10926f60051332a754084d45862afc4e83e597e1
tree596bcb6e66f1674e60dccd627b7eb3ffe19014fc
parent88872790923e2d80edf29a00b4e440f1473fa8f5
accel/habanalabs: set default device release watchdog T/O as 30 sec

After being notified about certain errors, user is expected to finish
his post-errors actions and to release the device within some timeout,
after which is deice is being reset.
The default timeout value is 5 sec, which in some case is not enough for
a user application to collect debug data.
Increase the default value to 30 sec.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/device.c