@@ -324,7 +324,7 @@ static int sreset_all_others(void)
return OPAL_UNSUPPORTED;
}
-static bool fast_reset_p8(void)
+static bool fast_reset(void)
{
struct cpu_thread *cpu;
bool ret;
@@ -400,7 +400,8 @@ void fast_reboot(void)
static int fast_reboot_count = 0;
bool success;
- 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;
@@ -439,7 +440,7 @@ void fast_reboot(void)
fast_boot_release = false;
sync();
- success = fast_reset_p8();
+ success = fast_reset();
/* Unlock, at this point we go away */
unlock(&reset_lock);
Don't tie mambo fast reboot to POWER8 CPU type. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- core/fast-reboot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)