spapr: introduce a IRQ controller backend to the machine
commitef01ed9d19ffffbb5d5517ecb424c543cde373a1
authorCédric Le Goater <clg@kaod.org>
Mon, 30 Jul 2018 14:11:33 +0000 (30 16:11 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 21 Aug 2018 04:28:45 +0000 (21 14:28 +1000)
tree12e371305e8b3344b67623049ccfad142d25f663
parent69bd18f84347b1b342443601f10a55da4c87bc9d
spapr: introduce a IRQ controller backend to the machine

This proposal moves all the related IRQ routines of the sPAPR machine
behind a sPAPR IRQ backend interface 'spapr_irq' to prepare for future
changes. First of which will be to increase the size of the IRQ number
space, then, will follow a new backend for the POWER9 XIVE IRQ controller.

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