]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: Use probe_access for itlb_hit_test
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 9 Dec 2019 23:21:52 +0000 (15:21 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Jan 2020 01:13:09 +0000 (15:13 -1000)
commitecd3571eb100ce1d29b0a2e5fd0918f7fe1d0b90
tree9dfff025e60ccbdf65aefa712ba37c7a9061dee9
parent3a63b24a1bbf166e6f455fe43a6bbd8dea413d92
target/xtensa: Use probe_access for itlb_hit_test

We don't actually need the result of the read, only to probe that the
memory mapping exists.  This is exactly what probe_access does.

This is also the only user of any cpu_ld*_code_ra function.
Removing this allows the interface to be removed shortly.

Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/xtensa/mmu_helper.c