Skip to content
Snippets Groups Projects
Commit e6ef0169 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Peter Maydell
Browse files

target/arm: use arm_is_el2_enabled() where applicable


Do not assume that EL2 is available in and only in non-secure context.
That equivalence is broken by ARMv8.4-SEL2.

Signed-off-by: default avatarRémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-id: 20210112104511.36576-3-remi.denis.courmont@huawei.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent f3ee5160
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment