target/arm: Enable ARMv8.1-VHE in -cpu max

Backports commit cd3f80aba0c559a6291f7c3e686422b15381f6b7 from qemu
This commit is contained in:
Richard Henderson 2020-03-21 16:36:02 -04:00 committed by Lioncash
parent 36407da586
commit ad5a3b2532

View file

@ -316,6 +316,7 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
t = cpu->isar.id_aa64mmfr1;
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);
t = FIELD_DP64(t, ID_AA64MMFR1, VH, 1);
cpu->isar.id_aa64mmfr1 = t;
/* Replicate the same data to the 32-bit id registers. */