spapr, xics, xive: Move print_info from SpaprIrq to SpaprInterruptController
commit328d8eb24db8ec415260ee7243adf2e3d7e81bad
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 26 Sep 2019 06:12:05 +0000 (26 16:12 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 23 Oct 2019 22:36:55 +0000 (24 09:36 +1100)
treec1d755cd251908ed31027ed63796ad6b8c03cc15
parent7bcdbcca2f498b8c93f33241488305a3694a941c
spapr, xics, xive: Move print_info from SpaprIrq to SpaprInterruptController

This method depends only on the active irq controller.  Now that we've
formalized the notion of active controller we can dispatch directly
through that, rather than dispatching via SpaprIrq with the dual
version having to do a second conditional dispatch.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
hw/intc/spapr_xive.c
hw/intc/xics_spapr.c
hw/ppc/spapr.c
hw/ppc/spapr_irq.c
include/hw/ppc/spapr_irq.h