Re: [PATCH for-6.0 4/8] spapr/xive: Add "nr-ipis" property

2020-11-24 Thread Greg Kurz
On Mon, 23 Nov 2020 11:13:21 +0100 Cédric Le Goater wrote: > On 11/20/20 6:46 PM, Greg Kurz wrote: > > The sPAPR XIVE device exposes a range of LISNs that the guest uses > > for IPIs. This range is currently sized according to the highest > > vCPU id, ie. spapr_max_server_number(), as obtained fr

Re: [PATCH for-6.0 4/8] spapr/xive: Add "nr-ipis" property

2020-11-23 Thread Cédric Le Goater
On 11/20/20 6:46 PM, Greg Kurz wrote: > The sPAPR XIVE device exposes a range of LISNs that the guest uses > for IPIs. This range is currently sized according to the highest > vCPU id, ie. spapr_max_server_number(), as obtained from the machine > through the "nr_servers" argument of the generic spa

Re: [PATCH for-6.0 4/8] spapr/xive: Add "nr-ipis" property

2020-11-22 Thread David Gibson
On Fri, Nov 20, 2020 at 06:46:42PM +0100, Greg Kurz wrote: > The sPAPR XIVE device exposes a range of LISNs that the guest uses > for IPIs. This range is currently sized according to the highest > vCPU id, ie. spapr_max_server_number(), as obtained from the machine > through the "nr_servers" argume

[PATCH for-6.0 4/8] spapr/xive: Add "nr-ipis" property

2020-11-20 Thread Greg Kurz
The sPAPR XIVE device exposes a range of LISNs that the guest uses for IPIs. This range is currently sized according to the highest vCPU id, ie. spapr_max_server_number(), as obtained from the machine through the "nr_servers" argument of the generic spapr_irq_dt() call. This makes sense for the "i