[Skiboot] [PATCH v2 13/25] fast-reboot: allow mambo fast reboot independent of CPU type

Nicholas Piggin npiggin at gmail.com
Sat Nov 25 01:08:22 AEDT 2017


Don't tie mambo fast reboot to POWER8 CPU type.

Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 core/fast-reboot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 8e0a394ad..fe9ab8e2a 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -361,7 +361,8 @@ void fast_reboot(void)
 	struct cpu_thread *cpu;
 	static int fast_reboot_count = 0;
 
-	if (proc_gen != proc_gen_p8) {
+	if (chip_quirk(QUIRK_MAMBO_CALLOUTS) ||
+			proc_gen != proc_gen_p8) {
 		prlog(PR_DEBUG,
 		      "RESET: Fast reboot not available on this CPU\n");
 		return;
-- 
2.15.0



More information about the Skiboot mailing list