diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-08-29 11:26:05 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-17 19:00:55 +0200 |
| commit | 27e76d010104646c997d20ca0996fb5a046587b0 (patch) | |
| tree | ed37640209e6666425cd1251101cc28214bd1e75 /include/hw/core/cpu.h | |
| parent | 602d5ebba26b245730a0b6a4855b1812d587725c (diff) | |
| download | focaccia-qemu-27e76d010104646c997d20ca0996fb5a046587b0.tar.gz focaccia-qemu-27e76d010104646c997d20ca0996fb5a046587b0.zip | |
cpu-common: use atomic access for interrupt_request
Writes to interrupt_request used non-atomic accesses, but there are a few cases where the access was not protected by the BQL. Now that there is a full set of helpers, it's easier to guarantee that interrupt_request accesses are fully atomic, so just drop the requirement instead of fixing them. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/core/cpu.h')
| -rw-r--r-- | include/hw/core/cpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index b01a0cffd6..23bd02277f 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -495,7 +495,6 @@ struct CPUState { bool exit_request; int exclusive_context_count; uint32_t cflags_next_tb; - /* updates protected by BQL */ uint32_t interrupt_request; int singlestep_enabled; int64_t icount_budget; |