target/arm: Check addresses for disabled regimes
commitcebfb64859284c3c451d14564fdd22546c48696e
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 8 Mar 2020 01:29:45 +0000 (7 17:29 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:01:37 +0000 (12 16:01 +0000)
tree7c41f1f2994cbf171fc7a9d8038b88a86a42729d
parente7e741ca9dc24dc01cd2b7cb86e8ca5c0b0d9bec
target/arm: Check addresses for disabled regimes

We fail to validate the upper bits of a virtual address on a
translation disabled regime, as per AArch64.TranslateAddressS1Off.

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