Re: [PATCH] ppc/pnv: Introduce pnv_chip_foreach_cpu()

2024-05-02 Thread Nicholas Piggin
On Wed Apr 24, 2024 at 7:30 PM AEST, Cédric Le Goater wrote: > This helper routine uses the machine definition, sockets, cores and > threads, to loop on all CPUs of the machine. Replace CPU_FOREACH() > with it. > > Signed-off-by: Cédric Le Goater Reviewed-by: Nicholas Piggin > --- >

Re: [PATCH] ppc/pnv: Introduce pnv_chip_foreach_cpu()

2024-04-24 Thread Philippe Mathieu-Daudé
On 24/4/24 11:30, Cédric Le Goater wrote: This helper routine uses the machine definition, sockets, cores and threads, to loop on all CPUs of the machine. Replace CPU_FOREACH() with it. Signed-off-by: Cédric Le Goater --- hw/ppc/pnv.c | 48 1

[PATCH] ppc/pnv: Introduce pnv_chip_foreach_cpu()

2024-04-24 Thread Cédric Le Goater
This helper routine uses the machine definition, sockets, cores and threads, to loop on all CPUs of the machine. Replace CPU_FOREACH() with it. Signed-off-by: Cédric Le Goater --- hw/ppc/pnv.c | 48 1 file changed, 36 insertions(+), 12