summary refs log tree commit diff stats
path: root/hw/arm/boot.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-10-01 09:22:53 -0700
committerPeter Maydell <peter.maydell@linaro.org>2022-10-10 14:52:25 +0100
commit2189c79858a9eadd85851afc2369d8679ecd563a (patch)
treec24ff3c61ecf1bdcb4e36f275703308ca784efab /hw/arm/boot.c
parentac76c2e508871e8180780338aa035c67ece75888 (diff)
downloadfocaccia-qemu-2189c79858a9eadd85851afc2369d8679ecd563a.tar.gz
focaccia-qemu-2189c79858a9eadd85851afc2369d8679ecd563a.zip
target/arm: Fix ATS12NSO* from S PL1
Use arm_hcr_el2_eff_secstate instead of arm_hcr_el2_eff, so
that we use is_secure instead of the current security state.
These AT* operations have been broken since arm_hcr_el2_eff
gained a check for "el2 enabled" for Secure EL2.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221001162318.153420-18-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/boot.c')
0 files changed, 0 insertions, 0 deletions