@@ -185,8 +185,12 @@ static void pnv_smp_cpu_kill_self(void)
ppc64_runlatch_off();
if (cpu_has_feature(CPU_FTR_ARCH_300)) {
+ pr_info("CPU%d going offline with request psscr %016llx\n",
+ cpu, pnv_deepest_stop_psscr_val);
srr1 = power9_idle_stop(pnv_deepest_stop_psscr_val,
pnv_deepest_stop_psscr_mask);
+ pr_info("CPU%d coming online with psscr %016lx, srr1 %016lx\n",
+ cpu, mfspr(SPRN_PSSCR), srr1);
} else if (idle_states & OPAL_PM_WINKLE_ENABLED) {
srr1 = power7_winkle();
} else if ((idle_states & OPAL_PM_SLEEP_ENABLED) ||
This is a debug patch that helps trace various STOP state transitions and look at srr1 and psscr at wakeup. Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> --- arch/powerpc/platforms/powernv/smp.c | 4 ++++ 1 file changed, 4 insertions(+)