target/arm: Introduce arm_hcr_el2_eff_secstate
commitb74c04431d0afac930634794c8a7b74ec0d8572b
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Oct 2022 16:22:49 +0000 (1 09:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Oct 2022 13:52:25 +0000 (10 14:52 +0100)
tree99f0857d80817fd4ce701f24fe861d36da4a6010
parentfdf12933390119a06cfb74dc892c5ce868b6a963
target/arm: Introduce arm_hcr_el2_eff_secstate

For page walking, we may require HCR for a security state
that is not "current".

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