target/ppc: Add POWER9 external interrupt model
commit67afe7759df4c3dec8abfc373b98d1a8d108ff66
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2019 16:16:47 +0000 (15 17:16 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2019 22:21:24 +0000 (26 09:21 +1100)
tree1dce47e48de20ace358a57ecad02635fd46927fa
parentd8ce5fd6643d5c568d6357354c205474e7022602
target/ppc: Add POWER9 external interrupt model

Adds support for the Hypervisor directed interrupts in addition to the
OS ones.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[clg: - modified the icp_realize() and xive_tctx_realize() to take
        into account explicitely the POWER9 interrupt model
      - introduced a specific power9_set_irq for POWER9 ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190215161648.9600-10-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c
hw/intc/xive.c
hw/ppc/ppc.c
include/hw/ppc/ppc.h
target/ppc/cpu-qom.h
target/ppc/cpu.h
target/ppc/translate_init.inc.c