[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/14] target/arm: use arm_is_el2_enabled() where applicable
From: |
Richard Henderson |
Subject: |
Re: [PATCH 02/14] target/arm: use arm_is_el2_enabled() where applicable |
Date: |
Tue, 3 Nov 2020 08:53:03 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 11/2/20 2:57 AM, remi.denis.courmont@huawei.com wrote:
> From: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
>
> Do not assume that EL2 is available in non-secure context.
> That equivalence is broken by ARMv8.4-SEL2.
>
> Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
> ---
> target/arm/cpu.h | 4 ++--
> target/arm/helper-a64.c | 8 +-------
> target/arm/helper.c | 33 +++++++++++++--------------------
> 3 files changed, 16 insertions(+), 29 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~