]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64/sysreg: Convert DCZID_EL0 to automatic generation
authorMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 17:02:52 +0000 (18:02 +0100)
committerWill Deacon <will@kernel.org>
Tue, 5 Jul 2022 10:45:47 +0000 (11:45 +0100)
Convert DCZID_EL0 to automatic register generation as per DDI0487H.a, no
functional change.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220704170302.2609529-19-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/sysreg.h
arch/arm64/tools/sysreg

index 234f9a3844de60ba7c8013b3aef2570a44642358..1a6a04b96dfa7709ed0c7a4d360403a33299865f 100644 (file)
 #define SMIDR_EL1_SMPS_SHIFT   15
 #define SMIDR_EL1_AFFINITY_SHIFT       0
 
-#define SYS_DCZID_EL0                  sys_reg(3, 3, 0, 0, 7)
-
 #define SYS_RNDR_EL0                   sys_reg(3, 3, 2, 4, 0)
 #define SYS_RNDRRS_EL0                 sys_reg(3, 3, 2, 4, 1)
 
 #define MVFR2_FPMISC_SHIFT             4
 #define MVFR2_SIMDMISC_SHIFT           0
 
-#define DCZID_EL0_DZP_SHIFT            4
-#define DCZID_EL0_BS_SHIFT             0
-
 #define CPACR_EL1_FPEN_EL1EN   (BIT(20)) /* enable EL1 access */
 #define CPACR_EL1_FPEN_EL0EN   (BIT(21)) /* enable EL0 access, if EL1EN set */
 
index a9f4c157c4be917c6c5dc4b1022c33fd3c0e706a..c286b62958eabbfaf63ebd48f855f068b71f6107 100644 (file)
@@ -294,6 +294,12 @@ Res0       13:4
 Field  3:0     IminLine
 EndSysreg
 
+Sysreg DCZID_EL0       3       3       0       0       7
+Res0   63:5
+Field  4       DZP
+Field  3:0     BS
+EndSysreg
+
 Sysreg SVCR    3       3       4       2       2
 Res0   63:2
 Field  1       ZA