powerpc/xmon: Don't print hashed pointers in paca dump
Remember when the biggest problem we had to worry about was hashed pointers, those were the days. These were missed in my earlier patch because they don't match "%p", but the macro is hiding a "%p", so these all end up being hashed, which is not what we want in xmon. Convert them to "%px". Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
274920a3ec
commit
2248fade96
|
@ -2344,10 +2344,10 @@ static void dump_one_paca(int cpu)
|
||||||
DUMP(p, kernel_toc, "lx");
|
DUMP(p, kernel_toc, "lx");
|
||||||
DUMP(p, kernelbase, "lx");
|
DUMP(p, kernelbase, "lx");
|
||||||
DUMP(p, kernel_msr, "lx");
|
DUMP(p, kernel_msr, "lx");
|
||||||
DUMP(p, emergency_sp, "p");
|
DUMP(p, emergency_sp, "px");
|
||||||
#ifdef CONFIG_PPC_BOOK3S_64
|
#ifdef CONFIG_PPC_BOOK3S_64
|
||||||
DUMP(p, nmi_emergency_sp, "p");
|
DUMP(p, nmi_emergency_sp, "px");
|
||||||
DUMP(p, mc_emergency_sp, "p");
|
DUMP(p, mc_emergency_sp, "px");
|
||||||
DUMP(p, in_nmi, "x");
|
DUMP(p, in_nmi, "x");
|
||||||
DUMP(p, in_mce, "x");
|
DUMP(p, in_mce, "x");
|
||||||
DUMP(p, hmi_event_available, "x");
|
DUMP(p, hmi_event_available, "x");
|
||||||
|
@ -2382,14 +2382,14 @@ static void dump_one_paca(int cpu)
|
||||||
#endif
|
#endif
|
||||||
DUMP(p, dscr_default, "llx");
|
DUMP(p, dscr_default, "llx");
|
||||||
#ifdef CONFIG_PPC_BOOK3E
|
#ifdef CONFIG_PPC_BOOK3E
|
||||||
DUMP(p, pgd, "p");
|
DUMP(p, pgd, "px");
|
||||||
DUMP(p, kernel_pgd, "p");
|
DUMP(p, kernel_pgd, "px");
|
||||||
DUMP(p, tcd_ptr, "p");
|
DUMP(p, tcd_ptr, "px");
|
||||||
DUMP(p, mc_kstack, "p");
|
DUMP(p, mc_kstack, "px");
|
||||||
DUMP(p, crit_kstack, "p");
|
DUMP(p, crit_kstack, "px");
|
||||||
DUMP(p, dbg_kstack, "p");
|
DUMP(p, dbg_kstack, "px");
|
||||||
#endif
|
#endif
|
||||||
DUMP(p, __current, "p");
|
DUMP(p, __current, "px");
|
||||||
DUMP(p, kstack, "lx");
|
DUMP(p, kstack, "lx");
|
||||||
printf(" kstack_base = 0x%016lx\n", p->kstack & ~(THREAD_SIZE - 1));
|
printf(" kstack_base = 0x%016lx\n", p->kstack & ~(THREAD_SIZE - 1));
|
||||||
DUMP(p, stab_rr, "lx");
|
DUMP(p, stab_rr, "lx");
|
||||||
|
@ -2407,7 +2407,7 @@ static void dump_one_paca(int cpu)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_PPC_POWERNV
|
#ifdef CONFIG_PPC_POWERNV
|
||||||
DUMP(p, core_idle_state_ptr, "p");
|
DUMP(p, core_idle_state_ptr, "px");
|
||||||
DUMP(p, thread_idle_state, "x");
|
DUMP(p, thread_idle_state, "x");
|
||||||
DUMP(p, thread_mask, "x");
|
DUMP(p, thread_mask, "x");
|
||||||
DUMP(p, subcore_sibling_mask, "x");
|
DUMP(p, subcore_sibling_mask, "x");
|
||||||
|
|
Loading…
Reference in New Issue