qemu-e2k/accel/tcg
Alex Bennée aff0e204cb accel/tcg: suppress IRQ check for special TBs
When we set cpu->cflags_next_tb it is because we want to carefully
control the execution of the next TB. Currently there is a race that
causes the second stage of watchpoint handling to get ignored if an
IRQ is processed before we finish executing the instruction that
triggers the watchpoint. Use the new CF_NOIRQ facility to avoid the
race.

We also suppress IRQs when handling precise self modifying code to
avoid unnecessary bouncing.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/245
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211129140932.4115115-3-alex.bennee@linaro.org>
2021-11-29 15:12:37 +00:00
..
atomic_common.c.inc trace: Split guest_mem_before 2021-10-05 16:53:17 -07:00
atomic_template.h trace: Split guest_mem_before 2021-10-05 16:53:17 -07:00
cpu-exec-common.c
cpu-exec.c accel/tcg: suppress IRQ check for special TBs 2021-11-29 15:12:37 +00:00
cputlb.c tcg: Move helper_*_mmu decls to tcg/tcg-ldst.h 2021-10-13 08:46:42 -07:00
hmp.c qapi: introduce x-query-opcount QMP command 2021-11-02 15:57:20 +00:00
internal.h
ldst_common.c.inc accel/tcg: Add cpu_{ld,st}*_mmu interfaces 2021-10-13 08:09:53 -07:00
meson.build meson: remove useless libdl test 2021-11-16 16:19:53 +00:00
plugin-gen.c plugins: try and make plugin_insn_append more ergonomic 2021-11-04 10:32:01 +00:00
plugin-helpers.h
tb-context.h
tb-hash.h
tcg-accel-ops-icount.c
tcg-accel-ops-icount.h
tcg-accel-ops-mttcg.c accel/tcg: Register a force_rcu notifier 2021-11-10 13:20:15 +01:00
tcg-accel-ops-mttcg.h
tcg-accel-ops-rr.c accel/tcg: Register a force_rcu notifier 2021-11-10 13:20:15 +01:00
tcg-accel-ops-rr.h
tcg-accel-ops.c
tcg-accel-ops.h
tcg-all.c
tcg-runtime-gvec.c
tcg-runtime.c
tcg-runtime.h
trace-events
trace.h
translate-all.c accel/tcg: suppress IRQ check for special TBs 2021-11-29 15:12:37 +00:00
translator.c plugins: try and make plugin_insn_append more ergonomic 2021-11-04 10:32:01 +00:00
user-exec-stub.c
user-exec.c tcg: Add helper_unaligned_{ld,st} for user-only sigbus 2021-11-02 07:00:52 -04:00