On 7/10/25 10:38, Gustavo Romero wrote:
+static CPAccessResult sctlr2_el2_access(CPUARMState *env, + const ARMCPRegInfo *ri, + bool isread) +{ + if (arm_current_el(env) < 3 && !(env->cp15.scr_el3 & SCR_SCTLR2EN)) { + return CP_ACCESS_TRAP_EL3; + }
Still missing the arm_feature(env, ARM_FEATURE_EL3) check I mentioned. r~