target/arm: Use softmmu tlbs for page table walking
commitf3639a64f602ea5c1436eb9c9b89f42028e3a4a8
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 11 Oct 2022 03:18:57 +0000 (10 20:18 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Oct 2022 10:27:49 +0000 (20 11:27 +0100)
tree23fbc572beedae7856fc430988a8012b310d8615
parent4e7a2c9860eabd21376da522ef11e6b39fe36f85
target/arm: Use softmmu tlbs for page table walking

So far, limit the change to S1_ptw_translate, arm_ldl_ptw, and
arm_ldq_ptw.  Use probe_access_full to find the host address,
and if so use a host load.  If the probe fails, we've got our
fault info already.  On the off chance that page tables are not
in RAM, continue to use the address_space_ld* functions.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221011031911.2408754-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/ptw.c
target/arm/tlb_helper.c