diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-11-10 08:21:23 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-11-14 10:40:54 -0800 |
commit | cf9b5790db77e5efdae589acff8a98165d2543e0 (patch) | |
tree | 32fc0d820faedc785c4896770506fa814e8c96ea /accel/tcg/cpu-exec.c | |
parent | 6d44474b3b47af21c7b01f3ad781373f1a6a2d78 (diff) | |
download | qemu-cf9b5790db77e5efdae589acff8a98165d2543e0.zip qemu-cf9b5790db77e5efdae589acff8a98165d2543e0.tar.gz qemu-cf9b5790db77e5efdae589acff8a98165d2543e0.tar.bz2 |
accel/tcg: Remove CF_LAST_IO
In cpu_exec_step_atomic, we did not set CF_LAST_IO, which lead
to a loop with cpu_io_recompile.
But since 18a536f1f8 ("Always require can_do_io") we no longer
need a flag to indicate when the last insn should have can_do_io set,
so remove the flag entirely.
Reported-by: Clément Chigot <chigot@adacore.com>
Tested-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1961
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/cpu-exec.c')
-rw-r--r-- | accel/tcg/cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 1a5bc90..c938eb9 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -721,7 +721,7 @@ static inline bool cpu_handle_exception(CPUState *cpu, int *ret) && cpu->neg.icount_decr.u16.low + cpu->icount_extra == 0) { /* Execute just one insn to trigger exception pending in the log */ cpu->cflags_next_tb = (curr_cflags(cpu) & ~CF_USE_ICOUNT) - | CF_LAST_IO | CF_NOIRQ | 1; + | CF_NOIRQ | 1; } #endif return false; |