aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis.courmont@huawei.com>2021-01-08 11:08:17 +0200
committerPeter Maydell <peter.maydell@linaro.org>2021-01-12 10:04:10 +0000
commit078e9fe3cbd6894fb6e420d8b53f304a3d5c0464 (patch)
tree37be24c60be27af085abb6986f9d0938c8be3789 /target
parentc36c65ea3c35b309d524c05a1c05fdeabf83ddd5 (diff)
downloadqemu-078e9fe3cbd6894fb6e420d8b53f304a3d5c0464.zip
qemu-078e9fe3cbd6894fb6e420d8b53f304a3d5c0464.tar.gz
qemu-078e9fe3cbd6894fb6e420d8b53f304a3d5c0464.tar.bz2
target/arm: enable Small Translation tables in max CPU
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>
Diffstat (limited to 'target')
-rw-r--r--target/arm/cpu64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 7cf9fc4..da24f94 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -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. */