On Wed, 22 Feb 2023 at 02:34, Richard Henderson
wrote:
>
> M-profile doesn't have HCR_EL2. While we could test features
> before each call, zero is a generally safe return value to
> disable the code in the caller. This test is required to
> avoid an assert in arm_is_secure_below_el3.
>
> Signed
M-profile doesn't have HCR_EL2. While we could test features
before each call, zero is a generally safe return value to
disable the code in the caller. This test is required to
avoid an assert in arm_is_secure_below_el3.
Signed-off-by: Richard Henderson
---
target/arm/helper.c | 3 +++
1 file