Skip to content

Commit 0a45f39

Browse files
brooniectmarinas
authored andcommitted
arm64/sysreg: Convert TIPDR_EL1 to automatic generation
Convert TPIDR_EL1 to automatic generation as per DDI0487H.a, no functional changes. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Kristina Martsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent ef4ba5a commit 0a45f39

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,6 @@
429429
#define SYS_ICC_IGRPEN0_EL1 sys_reg(3, 0, 12, 12, 6)
430430
#define SYS_ICC_IGRPEN1_EL1 sys_reg(3, 0, 12, 12, 7)
431431

432-
#define SYS_TPIDR_EL1 sys_reg(3, 0, 13, 0, 4)
433-
434432
#define SYS_SCXTNUM_EL1 sys_reg(3, 0, 13, 0, 7)
435433

436434
#define SYS_CNTKCTL_EL1 sys_reg(3, 0, 14, 1, 0)

arch/arm64/tools/sysreg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,10 @@ Sysreg CONTEXTIDR_EL1 3 0 13 0 1
774774
Fields CONTEXTIDR_ELx
775775
EndSysreg
776776

777+
Sysreg TPIDR_EL1 3 0 13 0 4
778+
Field 63:0 ThreadID
779+
EndSysreg
780+
777781
Sysreg CLIDR_EL1 3 1 0 0 1
778782
Res0 63:47
779783
Field 46:33 Ttypen

0 commit comments

Comments
 (0)