target/arm: enable Small Translation tables in max CPU

Backports 078e9fe3cbd6894fb6e420d8b53f304a3d5c0464
This commit is contained in:
Rémi Denis-Courmont 2021-03-03 20:11:08 -05:00 committed by Lioncash
parent c7415c92d5
commit 6f06f383ea

View file

@ -321,6 +321,8 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
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. */