]> xenbits.xensource.com Git - qemu-xen.git/commit
accel/tcg: Fix atomic_mmu_lookup for reads
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 May 2023 20:40:49 +0000 (21:40 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 11 May 2023 12:40:16 +0000 (15:40 +0300)
commit4b59b5bd14861817c2d965316da9c180ec8d1364
tree791fd74ae1c2002a75ccade03ebc6501ce722f19
parent488ad8b302e58add463e5f1f5619f3b7a2f98f23
accel/tcg: Fix atomic_mmu_lookup for reads

A copy-paste bug had us looking at the victim cache for writes.

Cc: qemu-stable@nongnu.org
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Fixes: 08dff435e2 ("tcg: Probe the proper permissions for atomic ops")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230505204049.352469-1-richard.henderson@linaro.org>
(cherry picked from commit 8c313254e61ed47a1bf4a2db714b25cdd94fbcce)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
accel/tcg/cputlb.c