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

Nicholas Piggin npiggin at gmail.com
Wed Nov 29 16:36:51 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 15e902ebb..84574db2b 100644
--- a/core/fast-reboot.c
+++ b/core/fast-reboot.c
@@ -363,7 +363,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