[Skiboot] [PATCH 04/18] fast-reboot: move de-asserting of special wakeups to the initiator
Nicholas Piggin
npiggin at gmail.com
Sun Nov 19 20:14:54 AEDT 2017
Currently the boot CPU clears special wakeups, but after the
previous patch, that is no longer necessary. Have the initiator
finish the entire sreset sequence.
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
core/fast-reboot.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 7147dcd9..45c8d2a4 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -327,6 +327,9 @@ static bool fast_reset_p8(void)
/* Send everyone else to 0x100 */
sreset_all_others();
+ prlog(PR_DEBUG, "RESET: Releasing special wakeups...\n");
+ sreset_all_finish();
+
return true;
}
@@ -391,10 +394,6 @@ void fast_reboot(void)
/* Unlock, at this point we go away */
unlock(&reset_lock);
- prlog(PR_DEBUG, "RESET: Releasing special wakeups...\n");
-
- sreset_all_finish();
-
if (success) {
asm volatile("ba 0x100\n\t" : : : "memory");
for (;;)
--
2.15.0
More information about the Skiboot
mailing list