habanalabs/gaudi: increase timeout for boot fit load
authorOded Gabbay <oded.gabbay@gmail.com>
Tue, 8 Sep 2020 12:17:03 +0000 (15:17 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:53 +0000 (18:49 +0300)
The firmware running in the boot stage takes more time to execute due to
increased security mechanisms. Therefore, we need to increase the timeout
we wait for the boot fit to finish loading.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/gaudi/gaudiP.h

index dd222bc..b70b810 100644 (file)
@@ -42,7 +42,7 @@
 #define MAX_POWER_DEFAULT_PCI          200000          /* 200W */
 #define MAX_POWER_DEFAULT_PMC          350000          /* 350W */
 
-#define GAUDI_CPU_TIMEOUT_USEC         15000000        /* 15s */
+#define GAUDI_CPU_TIMEOUT_USEC         30000000        /* 30s */
 
 #define TPC_ENABLED_MASK               0xFF