On Thu, 2 Jun 2022 at 23:15, Richard Henderson <richard.hender...@linaro.org> wrote: > > This is CheckSMEAccess, which is the basis for a set of > related tests for various SME cpregs and instructions. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > ---
> + /* CPTR_EL3. Since EZ is negative we must check for EL3. */ Cut-n-paste error, should say "ESM" not "EZ" ? > + if (arm_feature(env, ARM_FEATURE_EL3) > + && !FIELD_EX64(env->cp15.cptr_el[3], CPTR_EL3, ESM)) { > + return 3; > + } > +#endif > + return 0; > +} Otherwise Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM