On 7/4/25 09:14, Gustavo Romero wrote:
> The MECEn bit in SCR_EL3 enables access to the EL2 MECID registers from
> EL2, so add it to the SCR mask list to use it later on.
>
> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
> ---
> target/arm/cpu.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target/arm/cpu.h b/target/arm/cpu.h
> index 302c24e232..8ce30ca857 100644
> --- a/target/arm/cpu.h
> +++ b/target/arm/cpu.h
> @@ -1683,6 +1683,7 @@ static inline void xpsr_write(CPUARMState *env, uint32_t val, uint32_t mask)
> #define SCR_TRNDR (1ULL << 40)
> #define SCR_ENTP2 (1ULL << 41)
> #define SCR_GPF (1ULL << 48)
> +#define SCR_MECEN (1ULL << 49)
> #define SCR_NSE (1ULL << 62)
>
> /* Return the current FPSCR value. */
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~