diff options
author | Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> | 2018-04-18 21:06:46 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-18 20:25:39 -0500 |
commit | 2aa2616358e38a38032efeadcd17ef4cd91e088c (patch) | |
tree | 2732e062dbb35c67f8f03393b863da6f2880debe /core | |
parent | e2cd78500b8ed0b8519083a36304804c6d658cf8 (diff) | |
download | skiboot-2aa2616358e38a38032efeadcd17ef4cd91e088c.zip skiboot-2aa2616358e38a38032efeadcd17ef4cd91e088c.tar.gz skiboot-2aa2616358e38a38032efeadcd17ef4cd91e088c.tar.bz2 |
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>
Diffstat (limited to 'core')
-rw-r--r-- | core/fast-reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c index 2be12bd..8686aca 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; |