From fc8e5fe38dd9eac6ff17e3a01e9b2009bc543e9c Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Wed, 3 Mar 2021 20:13:18 -0500 Subject: [PATCH] target/arm: make ARMCPU.ctr 64-bit When FEAT_MTE is implemented, the AArch64 view of CTR_EL0 adds the TminLine field in bits [37:32]. Extend the ctr field to be able to hold this context. Backports a5fd319ae7f6d496ff5448ec1dedcae8e2f59e9f --- qemu/target/arm/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target/arm/cpu.h b/qemu/target/arm/cpu.h index 72b7e956..fd340d66 100644 --- a/qemu/target/arm/cpu.h +++ b/qemu/target/arm/cpu.h @@ -884,7 +884,7 @@ struct ARMCPU { uint64_t midr; uint32_t revidr; uint32_t reset_fpsid; - uint32_t ctr; + uint64_t ctr; uint32_t reset_sctlr; uint64_t pmceid0; uint64_t pmceid1;