Re: [PATCH v2 31/33] spapr: Remove SpaprIrq::nr_msis

2019-09-27 Thread Greg Kurz
On Fri, 27 Sep 2019 15:50:26 +1000 David Gibson wrote: > The nr_msis value we use here has to line up with whether we're using > legacy or modern irq allocation. Therefore it's safer to derive it based > on legacy_irq_allocation rather than having SpaprIrq contain a canned > value. > > Signed-o

[PATCH v2 31/33] spapr: Remove SpaprIrq::nr_msis

2019-09-26 Thread David Gibson
The nr_msis value we use here has to line up with whether we're using legacy or modern irq allocation. Therefore it's safer to derive it based on legacy_irq_allocation rather than having SpaprIrq contain a canned value. Signed-off-by: David Gibson --- hw/ppc/spapr.c | 5 ++--- hw/