target/arm: enable Small Translation tables in max CPU
authorRémi Denis-Courmont <remi.denis.courmont@huawei.com>
Fri, 8 Jan 2021 09:08:17 +0000 (11:08 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jan 2021 10:04:10 +0000 (10:04 +0000)
Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu64.c

index 7cf9fc4bc61a394018cda1de4226434a6818eadd..da24f94baa2201feec24b45f45ed83a09c4a892e 100644 (file)
@@ -669,6 +669,7 @@ static void aarch64_max_initfn(Object *obj)
         t = cpu->isar.id_aa64mmfr2;
         t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
         t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* TTCNP */
+        t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* TTST */
         cpu->isar.id_aa64mmfr2 = t;
 
         /* Replicate the same data to the 32-bit id registers.  */