diff mbox series

[v4,22/22] target/arm: Enable MTE

Message ID 20190307170440.3113-23-richard.henderson@linaro.org
State Superseded
Headers show
Series [v4,01/22] target/arm: Add MTE_ACTIVE to tb_flags | expand

Commit Message

Richard Henderson March 7, 2019, 5:04 p.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/arm/cpu64.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.2
diff mbox series

Patch

diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c
index 228906f267..27c85370c0 100644
--- a/target/arm/cpu64.c
+++ b/target/arm/cpu64.c
@@ -332,6 +332,7 @@  static void aarch64_max_initfn(Object *obj)
 
         t = cpu->isar.id_aa64pfr1;
         t = FIELD_DP64(t, ID_AA64PFR1, BT, 1);
+        t = FIELD_DP64(t, ID_AA64PFR1, MTE, 2);
         cpu->isar.id_aa64pfr1 = t;
 
         t = cpu->isar.id_aa64mmfr1;