target/arm: Implement the granule protection check
commit46f38c975f0a077a8f82081cc81a7cbd4f78f946
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 23 Jun 2023 10:15:48 +0000 (23 11:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 23 Jun 2023 10:15:48 +0000 (23 11:15 +0100)
treebecc3b4aa2f5ba9741e9bfc85f003ac6390d4f46
parent11b76fda0adcf84055863c42f8f6cebe3eef8ca0
target/arm: Implement the granule protection check

Place the check at the end of get_phys_addr_with_struct,
so that we check all physical results.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230620124418.805717-20-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c