Commit e83cbf7f authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman

powerpc/64s: xmon do not dump hash fields when using radix mode

Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 655deecf
...@@ -2378,30 +2378,32 @@ static void dump_one_paca(int cpu) ...@@ -2378,30 +2378,32 @@ static void dump_one_paca(int cpu)
DUMP(p, cpu_start, "%#-*x"); DUMP(p, cpu_start, "%#-*x");
DUMP(p, kexec_state, "%#-*x"); DUMP(p, kexec_state, "%#-*x");
#ifdef CONFIG_PPC_BOOK3S_64 #ifdef CONFIG_PPC_BOOK3S_64
for (i = 0; i < SLB_NUM_BOLTED; i++) { if (!early_radix_enabled()) {
u64 esid, vsid; for (i = 0; i < SLB_NUM_BOLTED; i++) {
u64 esid, vsid;
if (!p->slb_shadow_ptr) if (!p->slb_shadow_ptr)
continue; continue;
esid = be64_to_cpu(p->slb_shadow_ptr->save_area[i].esid); esid = be64_to_cpu(p->slb_shadow_ptr->save_area[i].esid);
vsid = be64_to_cpu(p->slb_shadow_ptr->save_area[i].vsid); vsid = be64_to_cpu(p->slb_shadow_ptr->save_area[i].vsid);
if (esid || vsid) { if (esid || vsid) {
printf(" %-*s[%d] = 0x%016llx 0x%016llx\n", printf(" %-*s[%d] = 0x%016llx 0x%016llx\n",
22, "slb_shadow", i, esid, vsid); 22, "slb_shadow", i, esid, vsid);
}
} }
} DUMP(p, vmalloc_sllp, "%#-*x");
DUMP(p, vmalloc_sllp, "%#-*x"); DUMP(p, stab_rr, "%#-*x");
DUMP(p, stab_rr, "%#-*x"); DUMP(p, slb_used_bitmap, "%#-*x");
DUMP(p, slb_used_bitmap, "%#-*x"); DUMP(p, slb_kern_bitmap, "%#-*x");
DUMP(p, slb_kern_bitmap, "%#-*x");
if (!early_cpu_has_feature(CPU_FTR_ARCH_300)) { if (!early_cpu_has_feature(CPU_FTR_ARCH_300)) {
DUMP(p, slb_cache_ptr, "%#-*x"); DUMP(p, slb_cache_ptr, "%#-*x");
for (i = 0; i < SLB_CACHE_ENTRIES; i++) for (i = 0; i < SLB_CACHE_ENTRIES; i++)
printf(" %-*s[%d] = 0x%016x\n", printf(" %-*s[%d] = 0x%016x\n",
22, "slb_cache", i, p->slb_cache[i]); 22, "slb_cache", i, p->slb_cache[i]);
}
} }
DUMP(p, rfi_flush_fallback_area, "%-*px"); DUMP(p, rfi_flush_fallback_area, "%-*px");
......
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