qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 22/71] target/arm: Add SMEEXC_EL to TB flags


From: Peter Maydell
Subject: Re: [PATCH 22/71] target/arm: Add SMEEXC_EL to TB flags
Date: Mon, 6 Jun 2022 14:25:18 +0100

On Thu, 2 Jun 2022 at 23:15, Richard Henderson
<richard.henderson@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.henderson@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.maydell@linaro.org>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]