Re: [PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-12-03 Thread Greg Kurz
On Wed, 2 Dec 2020 15:56:16 +1100 David Gibson wrote: > On Mon, Nov 30, 2020 at 05:52:56PM +0100, Greg Kurz wrote: > > The machine tells the IC backend the number of vCPU ids it will be > > exposed to, in order to: > > - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) > > - size

Re: [PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-12-02 Thread David Gibson
On Mon, Nov 30, 2020 at 05:52:56PM +0100, Greg Kurz wrote: > The machine tells the IC backend the number of vCPU ids it will be > exposed to, in order to: > - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) > - size the VP block used by the in-kernel chip (XICS-on-XIVE, XIVE) > >

Re: [PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-11-30 Thread Greg Kurz
On Mon, 30 Nov 2020 18:32:27 +0100 Cédric Le Goater wrote: > On 11/30/20 5:52 PM, Greg Kurz wrote: > > The machine tells the IC backend the number of vCPU ids it will be > > exposed to, in order to: > > - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) > > - size the VP block use

Re: [PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-11-30 Thread Cédric Le Goater
On 11/30/20 6:32 PM, Cédric Le Goater wrote: > On 11/30/20 5:52 PM, Greg Kurz wrote: >> The machine tells the IC backend the number of vCPU ids it will be >> exposed to, in order to: >> - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) >> - size the VP block used by the in-kernel c

Re: [PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-11-30 Thread Cédric Le Goater
On 11/30/20 5:52 PM, Greg Kurz wrote: > The machine tells the IC backend the number of vCPU ids it will be > exposed to, in order to: > - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) > - size the VP block used by the in-kernel chip (XICS-on-XIVE, XIVE) > > The current "nr_serve

[PATCH for-6.0 v2 1/3] spapr: Improve naming of some vCPU id related items

2020-11-30 Thread Greg Kurz
The machine tells the IC backend the number of vCPU ids it will be exposed to, in order to: - fill the "ibm,interrupt-server-ranges" property in the DT (XICS) - size the VP block used by the in-kernel chip (XICS-on-XIVE, XIVE) The current "nr_servers" and "spapr_max_server_number" naming can misle