Re: [PATCH v2 32/33] spapr: Move SpaprIrq::nr_xirqs to SpaprMachineClass

2019-09-29 Thread David Gibson
On Fri, Sep 27, 2019 at 05:22:16PM +0200, Greg Kurz wrote: > On Fri, 27 Sep 2019 15:50:27 +1000 > David Gibson wrote: > > > For the benefit of peripheral device allocation, the number of available > > irqs really wants to be the same on a given machine type version, > > regardless of what irq bac

Re: [PATCH v2 32/33] spapr: Move SpaprIrq::nr_xirqs to SpaprMachineClass

2019-09-27 Thread Greg Kurz
On Fri, 27 Sep 2019 15:50:27 +1000 David Gibson wrote: > For the benefit of peripheral device allocation, the number of available > irqs really wants to be the same on a given machine type version, > regardless of what irq backends we are using. That's the case now, but > only because we make su

[PATCH v2 32/33] spapr: Move SpaprIrq::nr_xirqs to SpaprMachineClass

2019-09-26 Thread David Gibson
For the benefit of peripheral device allocation, the number of available irqs really wants to be the same on a given machine type version, regardless of what irq backends we are using. That's the case now, but only because we make sure the different SpaprIrq instances have the same value except fo