summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Scheible <johnscheible@google.com>2022-10-14 13:54:51 -0700
committerJawad AlDhalemi <jaldhalemi@google.com>2022-11-15 21:26:09 +0000
commit707d7f2f766e3d8933a4095f696dd487e351b8b7 (patch)
tree0df1fda935834997e4d033bb4fa8b382a2fe1934
parentd01afed0e51f6db3422086dc67c6fa48a7e34d87 (diff)
downloadgs201-707d7f2f766e3d8933a4095f696dd487e351b8b7.tar.gz
gxp: Reduce mailbox timeout to 1s
Reduce GXP timeout to allow for faster notification of failure since the longest any workloads are expected to run is ~500ms. Bug: 253633897 Signed-off-by: John Scheible <johnscheible@google.com> Change-Id: Ie80587586bddd8abb1ca28dfceb4d6cbb93bb81e
-rw-r--r--gxp-mailbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gxp-mailbox.c b/gxp-mailbox.c
index f925125..aa28fc0 100644
--- a/gxp-mailbox.c
+++ b/gxp-mailbox.c
@@ -20,8 +20,8 @@
#include "gxp-mailbox-driver.h"
#include "gxp-pm.h"
-/* Timeout of 8s by default to account for slower emulation platforms */
-int gxp_mbx_timeout = 8000;
+/* Timeout of 1s by default */
+int gxp_mbx_timeout = 1000;
module_param_named(mbx_timeout, gxp_mbx_timeout, int, 0660);
/* Utilities of circular queue operations */