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

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2992d

2 messages, 2 authors, 2018-05-25 · open the first message on its own page

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

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-05-21 09:47:23

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@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

Re: powerpc/xmon: Update paca fields dumped in xmon

From: Michael Ellerman <hidden>
Date: 2018-05-25 11:41:47

On Mon, 2018-05-21 at 09:47:20 UTC, Michael Ellerman wrote:
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@ellerman.id.au>
Applied to powerpc next.

https://git.kernel.org/powerpc/c/2e0986d761324376021c880ddbf00c

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help