summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-12-13 13:48:08 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-12-13 14:41:24 +0000
commit7c208e0f4171c9e2cc35efc12e1bf264a45c229f (patch)
treeae8cb404e301db592ea736bc5b208428b3fe9925 /hw/core/qdev-properties-system.c
parentf77784446045231f7dfa46c9b872091241fa1557 (diff)
downloadfocaccia-qemu-7c208e0f4171c9e2cc35efc12e1bf264a45c229f.tar.gz
focaccia-qemu-7c208e0f4171c9e2cc35efc12e1bf264a45c229f.zip
target/arm: Use arm_hcr_el2_eff more places
Since arm_hcr_el2_eff includes a check against
arm_is_secure_below_el3, we can often remove a
nearby check against secure state.

In some cases, sort the call to arm_hcr_el2_eff
to the end of a short-circuit logical sequence.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181210150501.7990-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions