Re: [PATCH v6 04/20] ppc/pnv: Loop on the threads of the chip to find a matching NVT

2019-11-26 Thread David Gibson
On Mon, Nov 25, 2019 at 07:58:04AM +0100, Cédric Le Goater wrote: > CPU_FOREACH() loops on all the CPUs of the machine which is incorrect. > Each XIVE Presenter should scan only the HW threads of the chip it > belongs to. > > Signed-off-by: Cédric Le Goater > Reviewed-by: Greg Kurz > Signed-off-

[PATCH v6 04/20] ppc/pnv: Loop on the threads of the chip to find a matching NVT

2019-11-24 Thread Cédric Le Goater
CPU_FOREACH() loops on all the CPUs of the machine which is incorrect. Each XIVE Presenter should scan only the HW threads of the chip it belongs to. Signed-off-by: Cédric Le Goater Reviewed-by: Greg Kurz Signed-off-by: Cédric Le Goater --- hw/intc/pnv_xive.c | 61 ++---