qemu-e2k/accel/tcg
Richard Henderson 52ba13f042 tcg: Release mmap_lock on translation fault
Turn helper_retaddr into a multi-state flag that may now also
indicate when we're performing a read on behalf of the translator.
In this case, release the mmap_lock before the longjmp back to
the main cpu loop, and thereby avoid a failing assert therein.

Fixes: https://bugs.launchpad.net/qemu/+bug/1832353
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-07-14 12:19:01 +02:00
..
atomic_template.h cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
cpu-exec-common.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
cpu-exec.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
cputlb.c cputlb: cast size_t to target_ulong before using for address masks 2019-06-12 17:53:23 +01:00
Makefile.objs tcg: Add generic vector expanders 2018-02-08 15:54:05 +00:00
tcg-all.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
tcg-runtime-gvec.c tcg: Fix typos in helper_gvec_sar{8,32,64}v 2019-06-12 21:08:38 -07:00
tcg-runtime.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
tcg-runtime.h tcg: Add support for vector bitwise select 2019-05-22 15:09:43 -04:00
trace-events trace-events: Consistently point to docs/devel/tracing.txt 2019-03-22 16:17:37 +00:00
translate-all.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
translate-all.h tcg: Fix LGPL version number 2019-01-30 11:01:52 +01:00
translator.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
user-exec-stub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
user-exec.c tcg: Release mmap_lock on translation fault 2019-07-14 12:19:01 +02:00