Re: [PATCH v3 02/25] target/arm: Stub arm_hcr_el2_eff for m-profile

2023-02-24 Thread Peter Maydell
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

[PATCH v3 02/25] target/arm: Stub arm_hcr_el2_eff for m-profile

2023-02-21 Thread Richard Henderson
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