[Skiboot] [PATCH 11/18] fast-reboot: remove delay after sreset
Nicholas Piggin
npiggin at gmail.com
Sun Nov 19 20:15:01 AEDT 2017
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 at gmail.com>
---
core/fast-reboot.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 722ff1d8..72a4973a 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -448,7 +448,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");
@@ -546,7 +546,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
--
2.15.0
More information about the Skiboot
mailing list