Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-19 Thread Cédric Le Goater
>> diff --git a/hw/ppc/spapr_events.c b/hw/ppc/spapr_events.c >> index e4f5946a2188..c82dc40be0d5 100644 >> --- a/hw/ppc/spapr_events.c >> +++ b/hw/ppc/spapr_events.c >> @@ -709,7 +709,11 @@ void spapr_events_init(sPAPRMachineState *spapr) >> { >> int epow_irq; >> >> -epow_irq = spapr_i

Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-19 Thread David Gibson
On Tue, Jun 19, 2018 at 12:05:21PM +0200, Cédric Le Goater wrote: > On 06/19/2018 03:02 AM, David Gibson wrote: > > On Mon, Jun 18, 2018 at 07:34:02PM +0200, Cédric Le Goater wrote: > >> This proposal introduces a new IRQ number space layout using static > >> numbers for all devices and a bitmap al

Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-19 Thread David Gibson
On Tue, Jun 19, 2018 at 07:00:18AM +0200, Cédric Le Goater wrote: > On 06/19/2018 03:02 AM, David Gibson wrote: > > On Mon, Jun 18, 2018 at 07:34:02PM +0200, Cédric Le Goater wrote: > >> This proposal introduces a new IRQ number space layout using static > >> numbers for all devices and a bitmap al

Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-19 Thread Cédric Le Goater
On 06/19/2018 03:02 AM, David Gibson wrote: > On Mon, Jun 18, 2018 at 07:34:02PM +0200, Cédric Le Goater wrote: >> This proposal introduces a new IRQ number space layout using static >> numbers for all devices and a bitmap allocator for the MSI numbers >> which are negotiated by the guest at runtim

Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-18 Thread Cédric Le Goater
On 06/19/2018 03:02 AM, David Gibson wrote: > On Mon, Jun 18, 2018 at 07:34:02PM +0200, Cédric Le Goater wrote: >> This proposal introduces a new IRQ number space layout using static >> numbers for all devices and a bitmap allocator for the MSI numbers >> which are negotiated by the guest at runtim

Re: [Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-18 Thread David Gibson
On Mon, Jun 18, 2018 at 07:34:02PM +0200, Cédric Le Goater wrote: > This proposal introduces a new IRQ number space layout using static > numbers for all devices and a bitmap allocator for the MSI numbers > which are negotiated by the guest at runtime. > > The previous layout is kept in machines r

[Qemu-devel] [PATCH v2 3/3] spapr: introduce a fixed IRQ number space

2018-06-18 Thread Cédric Le Goater
This proposal introduces a new IRQ number space layout using static numbers for all devices and a bitmap allocator for the MSI numbers which are negotiated by the guest at runtime. The previous layout is kept in machines raising the 'xics_legacy' flag. Signed-off-by: Cédric Le Goater --- includ