powerpc/xmon: Dump XIVE information for online-only processors.
Bugzilla: http://bugzilla.redhat.com/2037642
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=42317497
Tested: I did sanity xmon testing on power 9 (ibm-p9z-06-lp9) system.
Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git
commit f1aa0e47c29268776205698f2453dc07fab49855 Author: Sachin Sant sachinp@linux.vnet.ibm.com Date: Wed Jan 5 19:47:48 2022 +0530
powerpc/xmon: Dump XIVE information for online-only processors.
dxa command in XMON debugger iterates through all possible processors.
As a result, empty lines are printed even for processors which are not
online.
CPU 47:pp=00 CPPR=ff IPI=0x0040002f PQ=-- EQ idx=699 T=0 00000000 00000000
CPU 48:
CPU 49:
Restrict XIVE information(dxa) to be displayed for online processors only.
Signed-off-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/164139226833.12930.272224382183014664.sendpatchset@MacBook-Pro.local
Signed-off-by: Steve Best sbest@redhat.com
Edited by Steve Best