summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-11-29 15:36:51 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-03 21:49:12 -0600
commit1647413d7c2fca509facec03bcb4488d6caaf81a (patch)
treec8fac2dc02f9688e011e9b1d22500520bb17f130
parent4610c27825a1b350fab1480f2045dd46d0b6eb3e (diff)
downloadblackbird-skiboot-1647413d7c2fca509facec03bcb4488d6caaf81a.tar.gz
blackbird-skiboot-1647413d7c2fca509facec03bcb4488d6caaf81a.zip
fast-reboot: allow mambo fast reboot independent of CPU type
Don't tie mambo fast reboot to POWER8 CPU type. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--core/fast-reboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fast-reboot.c b/core/fast-reboot.c
index 15e902eb..84574db2 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;
OpenPOWER on IntegriCloud