Re: [PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-12-04 Thread Greg Kurz
On Fri, 4 Dec 2020 09:46:31 +0100 Cédric Le Goater wrote: > >> I don't think we need much more than patch 1 which clarifies the > >> nature of the values being manipulated, quantities vs. numbering. > >> > >> The last 2 patches are adding complexity to try to optimize the > >> XIVE VP space in

Re: [PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-12-04 Thread Cédric Le Goater
>> I don't think we need much more than patch 1 which clarifies the >> nature of the values being manipulated, quantities vs. numbering. >> >> The last 2 patches are adding complexity to try to optimize the >> XIVE VP space in a case scenario which is not very common (vSMT). >> May be it's not w

Re: [PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-12-03 Thread Greg Kurz
On Thu, 3 Dec 2020 10:51:10 +0100 Cédric Le Goater wrote: > On 11/30/20 7:07 PM, Cédric Le Goater wrote: > > On 11/30/20 5:52 PM, Greg Kurz wrote: > >> The sPAPR XIVE device has an internal ENDT table the size of > >> which is configurable by the machine. This table is supposed > >> to contain EN

Re: [PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-12-03 Thread Cédric Le Goater
On 11/30/20 7:07 PM, Cédric Le Goater wrote: > On 11/30/20 5:52 PM, Greg Kurz wrote: >> The sPAPR XIVE device has an internal ENDT table the size of >> which is configurable by the machine. This table is supposed >> to contain END structures for all possible vCPUs that may >> enter the guest. The m

Re: [PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-11-30 Thread Cédric Le Goater
On 11/30/20 5:52 PM, Greg Kurz wrote: > The sPAPR XIVE device has an internal ENDT table the size of > which is configurable by the machine. This table is supposed > to contain END structures for all possible vCPUs that may > enter the guest. The machine must also claim IPIs for all > possible vCPU

[PATCH for-6.0 v2 2/3] spapr/xive: Fix size of END table and number of claimed IPIs

2020-11-30 Thread Greg Kurz
The sPAPR XIVE device has an internal ENDT table the size of which is configurable by the machine. This table is supposed to contain END structures for all possible vCPUs that may enter the guest. The machine must also claim IPIs for all possible vCPUs since this is expected by the guest. spapr_ir