target/arm: enable Secure EL2 in max CPU

Backports 24179fea7e34c4952d4878ae1b26108ba65e5933
This commit is contained in:
Rémi Denis-Courmont 2021-03-04 15:04:41 -05:00 committed by Lioncash
parent e6d32dc2e0
commit 8aeaff9385

View file

@ -295,6 +295,7 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
t = FIELD_DP64(t, ID_AA64PFR0, SVE, 1);
t = FIELD_DP64(t, ID_AA64PFR0, FP, 1);
t = FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1);
t = FIELD_DP64(t, ID_AA64PFR0, SEL2, 1);
cpu->isar.id_aa64pfr0 = t;
t = cpu->isar.id_aa64pfr1;