]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Honor TLB_DISCARD_WRITE in atomic_mmu_lookup
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 23 Feb 2023 09:05:01 +0000 (23:05 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:07 +0000 (13:44 -0800)
commit0953674ed0acacfa9b2409678f8ce8333398ee1c
tree5b84b8ee0c68499cbb51a7b05f9f12911df6d99a
parent20f7fe93f59fd840b06de2341f789725e382902b
accel/tcg: Honor TLB_DISCARD_WRITE in atomic_mmu_lookup

Using an atomic write or read-write insn on ROM is basically
a happens-never case.  Handle it via stop-the-world, which
will generate non-atomic serial code, where we can correctly
ignore the write while producing the correct read result.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c