aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-11-29 15:36:48 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-03 21:49:12 -0600
commit3598f41970f245e5d880709b7ae86967a189601e (patch)
treec076ef3248fa0cc101e984826c04c19c507f0fcd
parent171b7858a5598edf65becdaf9c5e2fbc281a052e (diff)
downloadskiboot-3598f41970f245e5d880709b7ae86967a189601e.zip
skiboot-3598f41970f245e5d880709b7ae86967a189601e.tar.gz
skiboot-3598f41970f245e5d880709b7ae86967a189601e.tar.bz2
fast-reboot: remove delay after sreset
There is a 100ms delay when targets reach sreset which does not appear to have a good purpose. Remove it and therefore reduce the sreset timeout by the same amount. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--core/fast-reboot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index a98b579..47b72d5 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -437,7 +437,7 @@ void fast_reboot(void)
return;
/* Ensure all the sresets get through */
- if (!cpu_state_wait_all_others(cpu_state_present, msecs_to_tb(200)))
+ if (!cpu_state_wait_all_others(cpu_state_present, msecs_to_tb(100)))
return;
asm volatile("ba 0x100\n\t" : : : "memory");
@@ -535,7 +535,6 @@ void __noreturn fast_reboot_entry(void);
void __noreturn fast_reboot_entry(void)
{
prlog(PR_DEBUG, "RESET: CPU 0x%04x reset in\n", this_cpu()->pir);
- time_wait_ms(100);
/* We reset our ICP first ! Otherwise we might get stray interrupts
* when unsplitting