Re: [Qemu-devel] [PATCH] ppc/xics: Add xics to the monitor "info pic" command

2016-10-17 Thread David Gibson
On Mon, Oct 17, 2016 at 10:33:14PM +0200, Cédric Le Goater wrote: > From: Benjamin Herrenschmidt > > Useful to debug interrupt problems. > > Signed-off-by: Benjamin Herrenschmidt > [clg: - updated for qemu-2.7 > - added a test on ->irqs as it is not necessarily allocated > (PHB3_M

[Qemu-devel] [PATCH] ppc/xics: Add xics to the monitor "info pic" command

2016-10-17 Thread Cédric Le Goater
From: Benjamin Herrenschmidt Useful to debug interrupt problems. Signed-off-by: Benjamin Herrenschmidt [clg: - updated for qemu-2.7 - added a test on ->irqs as it is not necessarily allocated (PHB3_MSI) - removed static variable g_xics and replace with a loop on all