On 9/22/26 09:49, Philippe Mathieu-Daudé wrote:
arm_cpu_has_work() runs without the BQL held. Use atomic reads for
halt_reason and event_register to safely inspect state updated by other
CPU contexts.

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

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

r~

Reply via email to