qemu-ppc
[Top][All Lists]
Advanced

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

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] ppc/pnv: Introduce pnv_chip_foreach_cpu()
Date: Tue, 18 Jun 2024 13:30:50 +0200
User-agent: Mozilla Thunderbird

On 17/6/24 13:19, Philippe Mathieu-Daudé wrote:
From: Cédric Le Goater <clg@redhat.com>

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>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240424093048.180966-1-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
v2: Rebased
Based-on: <20240610062105.49848-1-philmd@linaro.org>
(Since Nick reviewed it, I plan to queue this patch for my
own maintainer convenience).
---
  hw/ppc/pnv.c | 50 +++++++++++++++++++++++++++++++++++++-------------
  1 file changed, 37 insertions(+), 13 deletions(-)

Patch queued, thanks.



reply via email to

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