aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/pnv_xive.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-07-18 13:54:11 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-08-21 17:17:39 +1000
commitc5e760e0f2de9e6ba682c001c8cdd0b40c8b5731 (patch)
treeb9ae81df67528352fed54acf44ea991783bf3cca /hw/intc/pnv_xive.c
parentad31e2d242399bdaa300b940bbef253331c92ec3 (diff)
downloadqemu-c5e760e0f2de9e6ba682c001c8cdd0b40c8b5731.zip
qemu-c5e760e0f2de9e6ba682c001c8cdd0b40c8b5731.tar.gz
qemu-c5e760e0f2de9e6ba682c001c8cdd0b40c8b5731.tar.bz2
ppc/xive: Improve 'info pic' support
Provide a better output of the XIVE END structures including the escalation information and extend the PowerNV machine 'info pic' command with a dump of the END EAS table used for escalations. Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190718115420.19919-9-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/pnv_xive.c')
-rw-r--r--hw/intc/pnv_xive.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/intc/pnv_xive.c b/hw/intc/pnv_xive.c
index a8caf25..ed6e9d7 100644
--- a/hw/intc/pnv_xive.c
+++ b/hw/intc/pnv_xive.c
@@ -1595,6 +1595,15 @@ void pnv_xive_pic_print_info(PnvXive *xive, Monitor *mon)
}
xive_end_pic_print_info(&end, i, mon);
}
+
+ monitor_printf(mon, "XIVE[%x] END Escalation %08x .. %08x\n", blk, 0,
+ nr_ends - 1);
+ for (i = 0; i < nr_ends; i++) {
+ if (xive_router_get_end(xrtr, blk, i, &end)) {
+ break;
+ }
+ xive_end_eas_pic_print_info(&end, i, mon);
+ }
}
static void pnv_xive_reset(void *dev)