summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/cpu.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2021-05-26 20:36:20 +0100
committerWill Deacon <will@kernel.org>2021-05-26 22:05:07 +0100
commit7513cc8a1b741bee6fb39cbb94a9842d37ca3ace (patch)
tree51a2671537c9f4b2dbd5550a11a02514667e6615 /arch/arm64/include/asm/cpu.h
parentc4681547bcce777daf576925a966ffa824edd09d (diff)
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>
Diffstat (limited to 'arch/arm64/include/asm/cpu.h')
-rw-r--r--arch/arm64/include/asm/cpu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h
index 7faae6ff3ab4..fe5a8499ddc2 100644
--- a/arch/arm64/include/asm/cpu.h
+++ b/arch/arm64/include/asm/cpu.h
@@ -15,11 +15,11 @@
struct cpuinfo_arm64 {
struct cpu cpu;
struct kobject kobj;
- u32 reg_ctr;
- u32 reg_cntfrq;
- u32 reg_dczid;
- u32 reg_midr;
- u32 reg_revidr;
+ u64 reg_ctr;
+ u64 reg_cntfrq;
+ u64 reg_dczid;
+ u64 reg_midr;
+ u64 reg_revidr;
u64 reg_id_aa64dfr0;
u64 reg_id_aa64dfr1;