target/arm: Widen cnthctl_el2 to uint64_t
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 15 Jan 2023 17:16:33 +0000 (07:16 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Jan 2023 13:00:11 +0000 (13:00 +0000)
commitbb461330a1ca4d90c67054b493ed408fb7852d74
tree3922ae89c8b5e6eae9be69bb20584b3883429a47
parent65cc5ccf06a74c98de73ec683d9a543baa302a12
target/arm: Widen cnthctl_el2 to uint64_t

This is a 64-bit register on AArch64, even if the high 44 bits
are RES0.  Because this is defined as ARM_CP_STATE_BOTH, we are
asserting that the cpreg field is 64-bits.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1400
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230115171633.3171890-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h