Skip to content

Commit 10453bf

Browse files
brooniectmarinas
authored andcommitted
arm64/sysreg: Convert ID_AA64AFRn_EL1 to automatic generation
Convert ID_AA64AFRn_EL1 to automatic generation as per DDI0487I.a, no functional changes. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent c65c617 commit 10453bf

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@
190190
#define SYS_MVFR1_EL1 sys_reg(3, 0, 0, 3, 1)
191191
#define SYS_MVFR2_EL1 sys_reg(3, 0, 0, 3, 2)
192192

193-
#define SYS_ID_AA64AFR0_EL1 sys_reg(3, 0, 0, 5, 4)
194-
#define SYS_ID_AA64AFR1_EL1 sys_reg(3, 0, 0, 5, 5)
195-
196193
#define SYS_ACTLR_EL1 sys_reg(3, 0, 1, 0, 1)
197194
#define SYS_RGSR_EL1 sys_reg(3, 0, 1, 0, 5)
198195
#define SYS_GCR_EL1 sys_reg(3, 0, 1, 0, 6)

arch/arm64/tools/sysreg

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,22 @@ Sysreg ID_AA64DFR1_EL1 3 0 0 5 1
319319
Res0 63:0
320320
EndSysreg
321321

322+
Sysreg ID_AA64AFR0_EL1 3 0 0 5 4
323+
Res0 63:32
324+
Field 31:28 IMPDEF7
325+
Field 27:24 IMPDEF6
326+
Field 23:20 IMPDEF5
327+
Field 19:16 IMPDEF4
328+
Field 15:12 IMPDEF3
329+
Field 11:8 IMPDEF2
330+
Field 7:4 IMPDEF1
331+
Field 3:0 IMPDEF0
332+
EndSysreg
333+
334+
Sysreg ID_AA64AFR1_EL1 3 0 0 5 5
335+
Res0 63:0
336+
EndSysreg
337+
322338
Sysreg ID_AA64ISAR0_EL1 3 0 0 6 0
323339
Enum 63:60 RNDR
324340
0b0000 NI

0 commit comments

Comments
 (0)