Commit 17b59dd3 authored by Oded Gabbay's avatar Oded Gabbay

habanalabs: change default CS timeout to 30 seconds

Because our graph contains network operations, we need to account
for delay in the network.

5 seconds timeout per CS is not enough to account for that.
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 278b5f7a
...@@ -27,13 +27,13 @@ static struct class *hl_class; ...@@ -27,13 +27,13 @@ static struct class *hl_class;
static DEFINE_IDR(hl_devs_idr); static DEFINE_IDR(hl_devs_idr);
static DEFINE_MUTEX(hl_devs_idr_lock); static DEFINE_MUTEX(hl_devs_idr_lock);
static int timeout_locked = 5; static int timeout_locked = 30;
static int reset_on_lockup = 1; static int reset_on_lockup = 1;
static int memory_scrub = 1; static int memory_scrub = 1;
module_param(timeout_locked, int, 0444); module_param(timeout_locked, int, 0444);
MODULE_PARM_DESC(timeout_locked, MODULE_PARM_DESC(timeout_locked,
"Device lockup timeout in seconds (0 = disabled, default 5s)"); "Device lockup timeout in seconds (0 = disabled, default 30s)");
module_param(reset_on_lockup, int, 0444); module_param(reset_on_lockup, int, 0444);
MODULE_PARM_DESC(reset_on_lockup, MODULE_PARM_DESC(reset_on_lockup,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment