arm64: Change the cpuinfo_arm64 member type for some sysregs to u64
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 May 2021 19:36:20 +0000 (20:36 +0100)
committerWill Deacon <will@kernel.org>
Wed, 26 May 2021 21:05:07 +0000 (22:05 +0100)
commit7513cc8a1b741bee6fb39cbb94a9842d37ca3ace
tree51a2671537c9f4b2dbd5550a11a02514667e6615
parentc4681547bcce777daf576925a966ffa824edd09d
arm64: Change the cpuinfo_arm64 member type for some sysregs to u64

The architecture has been updated and the CTR_EL0, CNTFRQ_EL0,
DCZID_EL0, MIDR_EL1, REVIDR_EL1 registers are all 64-bit, even if most
of them have a RES0 top 32-bit.

Change their type to u64 in struct cpuinfo_arm64.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Suzuki K Poulose <Suzuki.Poulose@arm.com>
Link: https://lore.kernel.org/r/20210526193621.21559-2-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cpu.h
arch/arm64/kernel/cpuinfo.c