qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] ppc/pnv: Introduce pnv_chip_foreach_cpu()
Date: Wed, 24 Apr 2024 14:10:14 +0200
User-agent: Mozilla Thunderbird

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 <clg@redhat.com>
---
  hw/ppc/pnv.c | 48 ++++++++++++++++++++++++++++++++++++------------
  1 file changed, 36 insertions(+), 12 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]