|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 16/19] system/cpus: Add cpu_pause() function |
Date: | Fri, 12 Jul 2024 16:35:23 +0200 |
User-agent: | Mozilla Thunderbird |
On 12/7/24 14:02, Nicholas Piggin wrote:
This factors the CPU pause function from pause_all_vcpus() into a new cpu_pause() function, similarly to cpu_resume(). cpu_resume() is moved to keep it next to cpu_pause(). Cc: Philippe Mathieu-Daudé <philmd@linaro.org> Cc: Peter Xu <peterx@redhat.com> Cc: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- include/hw/core/cpu.h | 8 ++++++++ system/cpus.c | 30 +++++++++++++++++------------- 2 files changed, 25 insertions(+), 13 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |