summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2018-04-18 21:06:46 +0530
committerStewart Smith <stewart@linux.ibm.com>2018-04-18 20:25:39 -0500
commit2aa2616358e38a38032efeadcd17ef4cd91e088c (patch)
tree2732e062dbb35c67f8f03393b863da6f2880debe
parente2cd78500b8ed0b8519083a36304804c6d658cf8 (diff)
downloadtalos-skiboot-2aa2616358e38a38032efeadcd17ef4cd91e088c.tar.gz
talos-skiboot-2aa2616358e38a38032efeadcd17ef4cd91e088c.zip
core/fast-reboot: Increase timeout for dctl sreset to 1sec
Direct control xscom can take more time to complete. We seem to wait too little on Boston failing fast-reboot for no good reason. Increase timeout to 1 sec as a reasonable value for sreset to be delivered and core to start executing instructions. Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--core/fast-reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 2be12bd2..8686aca7 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -163,7 +163,7 @@ void fast_reboot(void)
}
/* Ensure all the sresets get through */
- if (!cpu_state_wait_all_others(cpu_state_present, msecs_to_tb(100))) {
+ if (!cpu_state_wait_all_others(cpu_state_present, msecs_to_tb(1000))) {
prlog(PR_NOTICE, "RESET: Fast reboot timed out waiting for "
"secondaries to call in\n");
return;
OpenPOWER on IntegriCloud