qemu-e2k/include/hw/ppc
Greg Kurz 6cead90c5c xics: Write source state to KVM at claim time
The pseries machine only uses LSIs to support legacy PCI devices. Every
PHB claims 4 LSIs at realize time. When using in-kernel XICS (or upcoming
in-kernel XIVE), QEMU synchronizes the state of all irqs, including these
LSIs, later on at machine reset.

In order to support PHB hotplug, we need a way to tell KVM about the LSIs
that doesn't require a machine reset. An easy way to do that is to always
inform KVM when an interrupt is claimed, which really isn't a performance
path.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155059668360.1466090.5969630516627776426.stgit@bahia.lab.toulouse-stg.fr.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-02-26 09:21:25 +11:00
..
fdt.h
mac_dbdma.h
openpic_kvm.h
openpic.h mac_newworld: simplify IRQ wiring 2018-12-21 09:24:23 +11:00
pnv_core.h ppc/pnv: introduce a CPU machine_data 2019-02-04 18:44:18 +11:00
pnv_lpc.h
pnv_occ.h
pnv_psi.h pnv/psi: move the ICSState qemu_irq array under the PSI device model 2019-01-09 09:28:14 +11:00
pnv_xscom.h
pnv.h spapr: modify the prototype of the cpu_intc_create() method 2019-01-09 09:28:14 +11:00
ppc4xx.h ppc4xx: Use ram_addr_t in ppc4xx_sdram_adjust() 2019-02-04 18:44:17 +11:00
ppc_e500.h
ppc.h target/ppc: Add POWER9 external interrupt model 2019-02-26 09:21:24 +11:00
spapr_cpu_core.h spapr: move the interrupt presenters under machine_data 2019-02-04 18:44:18 +11:00
spapr_drc.h spapr/drc: Drop spapr_drc_attach() fdt argument 2019-02-26 09:21:25 +11:00
spapr_irq.h spapr/irq: add an 'nr_irq' parameter to initialize the backend. 2019-02-17 21:54:02 +11:00
spapr_ovec.h
spapr_rtas.h
spapr_vio.h
spapr_xive.h ppc: Fix duplicated typedefs to be able to compile with Clang in gnu99 mode 2019-01-22 05:14:33 +01:00
spapr.h spapr: Generate FDT fragment for CPUs at configure connector time 2019-02-26 09:21:25 +11:00
xics_spapr.h ppc: Move spapr-related prototypes from xics.h into a seperate header file 2019-01-22 05:14:33 +01:00
xics.h xics: Write source state to KVM at claim time 2019-02-26 09:21:25 +11:00
xive_regs.h ppc/xive: introduce a simplified XIVE presenter 2018-12-21 09:37:04 +11:00
xive.h xive: Only set source type for LSIs 2019-02-17 21:54:02 +11:00