habanalabs: add debugfs node for configuring CS timeout
authorOfir Bitton <obitton@habana.ai>
Thu, 2 Sep 2021 07:18:01 +0000 (10:18 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 18 Oct 2021 09:05:46 +0000 (12:05 +0300)
commit4be9fb53039ab1327f058e09039404ad33926adb
tree2a13f2c2ca56cf183c729d97c1ec415d525d5fbc
parent511c1957de9d9f5a70e6760dfb6af4382ae0501d
habanalabs: add debugfs node for configuring CS timeout

Command submission timeout is currently determined during driver
loading time. As some environments requires this timeout to be
modified in runtime, we introduce a new debugfs node that controls
the timeout value without the need to reload the driver.

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