Re: [PATCH v2 10/33] spapr: Eliminate nr_irqs parameter to SpaprIrq::init

2019-09-27 Thread Greg Kurz
On Fri, 27 Sep 2019 15:50:05 +1000 David Gibson wrote: > The only reason this parameter was needed was to work around the > inconsistent meaning of nr_irqs between xics and xive. Now that we've > fixed that, we can consistently use the number directly in the SpaprIrq > configuration. > > Signed

[PATCH v2 10/33] spapr: Eliminate nr_irqs parameter to SpaprIrq::init

2019-09-26 Thread David Gibson
The only reason this parameter was needed was to work around the inconsistent meaning of nr_irqs between xics and xive. Now that we've fixed that, we can consistently use the number directly in the SpaprIrq configuration. Signed-off-by: David Gibson Reviewed-by: Cédric Le Goater --- hw/ppc/spa