]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
target/arm: make ARMCPU.ctr 64-bit
authorLeif Lindholm <leif@nuviainc.com>
Fri, 8 Jan 2021 18:51:51 +0000 (18:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jan 2021 10:09:14 +0000 (10:09 +0000)
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.

Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20210108185154.8108-4-leif@nuviainc.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h

index fdbfcec2b09ad5371e2e59ee9b3cd10459954457..0795c4cc06a3d2d19450e212aeb42bdf3d5797ad 100644 (file)
@@ -931,7 +931,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;