target/arm: Use probe_access_full for BTI
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 11 Oct 2022 03:18:50 +0000 (20:18 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Oct 2022 10:27:49 +0000 (11:27 +0100)
commit937f2245596de9026ca8ae017ef47889523c4326
treece28803c3bcb9c174a0d3b2a849c5a4a0e44b197
parentb8967ddf393aaf35fdbc07b4cb538a40f8b6fe37
target/arm: Use probe_access_full for BTI

Add a field to TARGET_PAGE_ENTRY_EXTRA to hold the guarded bit.
In is_guarded_page, use probe_access_full instead of just guessing
that the tlb entry is still present.  Also handles the FIXME about
executing from device memory.

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