ppc/pnv: Dump the XIVE NVT table
commitd302e0008034dd79c36ab311768689da395cb26f
authorCédric Le Goater <clg@kaod.org>
Mon, 25 Nov 2019 06:58:20 +0000 (25 07:58 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:48 +0000 (17 10:39 +1100)
treea769b589cf9797b1065426c9b8ad863145388a2b
parentf22f56dd483b27f8c4463dbb310029dd9161bb04
ppc/pnv: Dump the XIVE NVT table

This is useful to dump the saved contexts of the vCPUs : configuration
of the base END index of the vCPU and the Interrupt Pending Buffer
register, which is updated when an interrupt can not be presented.

When dumping the NVT table, we skip empty indirect pages which are not
necessarily allocated.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191125065820.927-21-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/pnv_xive.c
include/hw/ppc/xive_regs.h