On 9/22/26 09:49, Philippe Mathieu-Daudé wrote:
Use qatomic_set() when updating ARMCPU::power_state and
CPUARMState::halt_reason. Read ARMCPU::power_state atomically in
arm_cpu_has_work(), which can run without the BQL held.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  target/arm/arm-powerctl.c | 5 +++--
  target/arm/cpu.c          | 2 +-
  2 files changed, 4 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to