debugfs: add skip_reset_on_timeout option
authorYuri Nudelman <ynudelman@habana.ai>
Sun, 13 Jun 2021 06:22:20 +0000 (09:22 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:43 +0000 (15:23 +0300)
commit4d041216c83dd9933c7c72b40511bb3585fa1724
treeaa10c6afd4278898d93d4b1283fce73beea3d45d
parent38e19d0b87ebc380341d5c026abed9e8060b2d37
debugfs: add skip_reset_on_timeout option

To be able to debug long-running CS better, without changing the
userspace code, we are adding a new option through debugfs interface
to skip the reset of the device in case of CS timeout.

Signed-off-by: Yuri Nudelman <ynudelman@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/command_submission.c
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/habanalabs.h