Home
last modified time | relevance | path

Searched hist:db17d2cdb1a10e6fa8aa02de167546c17c893c3c (Results 1 – 1 of 1) sorted by relevance

/qemu/accel/tcg/
H A Duser-exec.cdb17d2cdb1a10e6fa8aa02de167546c17c893c3c Tue Aug 03 22:16:06 UTC 2021 Ilya Leoshkevich <iii@linux.ibm.com> accel/tcg/user-exec: Fix read-modify-write of code on s390 hosts

x86_64 dotnet/runtime uses cmpxchg for code patching. When running it
under s390x qemu-linux user, cpu_signal_handler() does not recognize
this as a write and does not restore PAGE_WRITE cleared by
tb_page_add(), incorrectly forwarding the signal to the guest code.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210803221606.150103-1-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>