Skip to content

Commit c37b870

Browse files
brooniectmarinas
authored andcommitted
arm64/sme: Automatically generate SMIDR_EL1 defines
Automatically generate the defines for SMIDR_EL1, no functional change. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 0d1322e commit c37b870

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@
463463
#define SYS_CCSIDR_EL1 sys_reg(3, 1, 0, 0, 0)
464464
#define SYS_CLIDR_EL1 sys_reg(3, 1, 0, 0, 1)
465465
#define SYS_GMID_EL1 sys_reg(3, 1, 0, 0, 4)
466-
#define SYS_SMIDR_EL1 sys_reg(3, 1, 0, 0, 6)
467466
#define SYS_AIDR_EL1 sys_reg(3, 1, 0, 0, 7)
468467

469468
#define SMIDR_EL1_IMPLEMENTER_SHIFT 24

arch/arm64/tools/sysreg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,15 @@ Sysreg SMCR_EL1 3 0 1 2 6
197197
Fields SMCR_ELx
198198
EndSysreg
199199

200+
Sysreg SMIDR_EL1 3 1 0 0 6
201+
Res0 63:32
202+
Field 31:24 IMPLEMENTER
203+
Field 23:16 REVISION
204+
Field 15 SMPS
205+
Res0 14:12
206+
Field 11:0 AFFINITY
207+
EndSysreg
208+
200209
Sysreg SMCR_EL2 3 4 1 2 6
201210
Fields SMCR_ELx
202211
EndSysreg

0 commit comments

Comments
 (0)