]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix in_debug path in S1_ptw_translate
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 14 Jan 2023 05:46:05 +0000 (19:46 -1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Mar 2023 07:20:04 +0000 (10:20 +0300)
commit75ecd0872ff264ebc84d64510e2eab6f951227ab
tree898aabaf6fb3d0d906acf92f4b36fac1fac07e7f
parentc3ea5ef558f34cc0bf9f1e4208d43970acabfbef
target/arm: Fix in_debug path in S1_ptw_translate

During the conversion, the test against get_phys_addr_lpae got inverted,
meaning that successful translations went to the 'failed' label.

Cc: qemu-stable@nongnu.org
Fixes: f3639a64f60 ("target/arm: Use softmmu tlbs for page table walking")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1417
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230114054605.2977022-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 4a1103afb16efa64600ef0c2b03afe60f689fdc9)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/ptw.c