[PATCH] powerpc/xmon: Update paca fields dumped in xmon

Michael Ellerman mpe at ellerman.id.au
Mon May 21 19:47:20 AEST 2018


The set of paca fields we dump in xmon has gotten somewhat out of
date. Update to add some recently added fields.

Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
---
 arch/powerpc/xmon/xmon.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 94cc8ba36c14..a2cbf0caa1f7 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -2425,6 +2425,16 @@ static void dump_one_paca(int cpu)
 	DUMP(p, thread_idle_state, "x");
 	DUMP(p, thread_mask, "x");
 	DUMP(p, subcore_sibling_mask, "x");
+	DUMP(p, thread_sibling_pacas, "px");
+	DUMP(p, requested_psscr, "llx");
+	DUMP(p, stop_sprs.pid, "llx");
+	DUMP(p, stop_sprs.ldbar, "llx");
+	DUMP(p, stop_sprs.fscr, "llx");
+	DUMP(p, stop_sprs.hfscr, "llx");
+	DUMP(p, stop_sprs.mmcr1, "llx");
+	DUMP(p, stop_sprs.mmcr2, "llx");
+	DUMP(p, stop_sprs.mmcra, "llx");
+	DUMP(p, dont_stop, "x");
 #endif
 
 	DUMP(p, accounting.utime, "llx");
-- 
2.14.1



More information about the Linuxppc-dev mailing list