habanalabs: add an option to control watchdog timeout via debugfs
authorTomer Tayar <ttayar@habana.ai>
Fri, 30 Sep 2022 13:37:41 +0000 (16:37 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:43 +0000 (16:13 +0200)
commit11669b58fa1cee8442ae31ad4ba71398729727b5
tree088253fe04e2618e444bb666b163cf4d9269fe4e
parenta88a6f5f5cdfce21aaf988370287e0e78970c8ad
habanalabs: add an option to control watchdog timeout via debugfs

Add an option to control the timeout value for the driver's watchdog
of the reset process. The timeout represents the amount of the user
has to close his process once he gets a device reset notification from
the driver.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Documentation/ABI/testing/debugfs-driver-habanalabs
drivers/misc/habanalabs/common/debugfs.c