spapr, xics, xive: Move dt_populate from SpaprIrq to SpaprInterruptController
commit05289273c06de4bc6ece85a8bf672e588e34f36b
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Sep 2019 02:35:06 +0000 (30 12:35 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 23 Oct 2019 22:36:55 +0000 (24 09:36 +1100)
tree24ec1a36d1438515f73c4cb4742dab5b04c81b33
parent328d8eb24db8ec415260ee7243adf2e3d7e81bad
spapr, xics, xive: Move dt_populate 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
include/hw/ppc/spapr_xive.h
include/hw/ppc/xics_spapr.h