Commit 87997471 authored by Shaokun Zhang's avatar Shaokun Zhang Committed by Michael Ellerman

powerpc/64s: Fix misleading SPR and timebase information

pr_info shows SPR and timebase as a decimal value with a '0x'
prefix, which is somewhat misleading.

Fix it to print hexadecimal, as was intended.

Fixes: 10d91611 ("powerpc/64s: Reimplement book3s idle code in C")
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 348ea30f
...@@ -1159,10 +1159,10 @@ static void __init pnv_power9_idle_init(void) ...@@ -1159,10 +1159,10 @@ static void __init pnv_power9_idle_init(void)
pnv_deepest_stop_psscr_mask); pnv_deepest_stop_psscr_mask);
} }
pr_info("cpuidle-powernv: First stop level that may lose SPRs = 0x%lld\n", pr_info("cpuidle-powernv: First stop level that may lose SPRs = 0x%llx\n",
pnv_first_spr_loss_level); pnv_first_spr_loss_level);
pr_info("cpuidle-powernv: First stop level that may lose timebase = 0x%lld\n", pr_info("cpuidle-powernv: First stop level that may lose timebase = 0x%llx\n",
pnv_first_tb_loss_level); pnv_first_tb_loss_level);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment