From 8aeaff9385640fb0c94b55d7b1e9dfc4f67c78f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 4 Mar 2021 15:04:41 -0500 Subject: [PATCH] target/arm: enable Secure EL2 in max CPU Backports 24179fea7e34c4952d4878ae1b26108ba65e5933 --- qemu/target/arm/cpu64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target/arm/cpu64.c b/qemu/target/arm/cpu64.c index 95571490..c4143a64 100644 --- a/qemu/target/arm/cpu64.c +++ b/qemu/target/arm/cpu64.c @@ -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;