[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] target/arm: Enable ARMv8.2-UAO in -cpu max
From: |
Peter Maydell |
Subject: |
Re: [PATCH 4/4] target/arm: Enable ARMv8.2-UAO in -cpu max |
Date: |
Fri, 6 Dec 2019 18:31:49 +0000 |
On Tue, 3 Dec 2019 at 23:42, Richard Henderson
<address@hidden> wrote:
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/arm/cpu64.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
> index 9399253b4c..03377084e3 100644
> --- a/target/arm/cpu64.c
> +++ b/target/arm/cpu64.c
> @@ -674,6 +674,10 @@ static void aarch64_max_initfn(Object *obj)
> t = FIELD_DP64(t, ID_AA64MMFR1, PAN, 2); /* ATS1E1 */
> cpu->isar.id_aa64mmfr1 = t;
>
> + t = cpu->isar.id_aa64mmfr2;
> + t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
> + cpu->isar.id_aa64mmfr2 = t;
> +
> /* Replicate the same data to the 32-bit id registers. */
> u = cpu->isar.id_isar5;
> u = FIELD_DP32(u, ID_ISAR5, AES, 2); /* AES + PMULL */
> --
> 2.17.1
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM