Re: [PATCH v2 25/25] target/arm: Fix Secure PL1 tests in fp_exception_el

2022-06-09 Thread Peter Maydell
On Tue, 7 Jun 2022 at 04:02, Richard Henderson wrote: > > We were using arm_is_secure and is_a64, which are > tests against the current EL, as opposed to > arm_el_is_aa64 and arm_is_secure_below_el3, which > can be applied to a different EL than current. > Consolidate the two tests. > > Signed-off

[PATCH v2 25/25] target/arm: Fix Secure PL1 tests in fp_exception_el

2022-06-06 Thread Richard Henderson
We were using arm_is_secure and is_a64, which are tests against the current EL, as opposed to arm_el_is_aa64 and arm_is_secure_below_el3, which can be applied to a different EL than current. Consolidate the two tests. Signed-off-by: Richard Henderson --- target/arm/helper.c | 23 +---