Re: [Qemu-devel] [PATCH v4 03/15] spapr_irq: Set LSIs at interrupt controller init

2019-02-13 Thread Greg Kurz
On Wed, 13 Feb 2019 14:48:44 +1100 David Gibson wrote: > On Tue, Feb 12, 2019 at 07:24:13PM +0100, Greg Kurz wrote: > > 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 s

Re: [Qemu-devel] [PATCH v4 03/15] spapr_irq: Set LSIs at interrupt controller init

2019-02-12 Thread David Gibson
On Tue, Feb 12, 2019 at 07:24:13PM +0100, Greg Kurz wrote: > 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

Re: [Qemu-devel] [PATCH v4 03/15] spapr_irq: Set LSIs at interrupt controller init

2019-02-12 Thread Cédric Le Goater
On 2/12/19 7:24 PM, Greg Kurz wrote: > 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. >

[Qemu-devel] [PATCH v4 03/15] spapr_irq: Set LSIs at interrupt controller init

2019-02-12 Thread Greg Kurz
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 wa