diff mbox series

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

Message ID 20171124140834.7099-14-npiggin@gmail.com
State Superseded
Headers show
Series move direct controls out of fast-reboot, generalize them, add quiescing | expand

Commit Message

Nicholas Piggin Nov. 24, 2017, 2:08 p.m. UTC
Don't tie mambo fast reboot to POWER8 CPU type.

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

Patch

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;