Skip to content

Commit

Permalink
arm64/sysreg: Convert SCXTNUM_EL1 to automatic generation
Browse files Browse the repository at this point in the history
Convert SCXTNUM_EL1 to automatic generation as per DDI0487H.a, no
functional changes.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Kristina Martsenko <kristina.martsenko@arm.com>
Link: https://lore.kernel.org/r/20220905225425.1871461-28-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Mark Brown authored and Catalin Marinas committed Sep 9, 2022
1 parent 0a45f39 commit b1179b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm64/include/asm/sysreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,6 @@
#define SYS_ICC_IGRPEN0_EL1 sys_reg(3, 0, 12, 12, 6)
#define SYS_ICC_IGRPEN1_EL1 sys_reg(3, 0, 12, 12, 7)

#define SYS_SCXTNUM_EL1 sys_reg(3, 0, 13, 0, 7)

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

#define SYS_CCSIDR_EL1 sys_reg(3, 1, 0, 0, 0)
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/tools/sysreg
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,10 @@ Sysreg TPIDR_EL1 3 0 13 0 4
Field 63:0 ThreadID
EndSysreg

Sysreg SCXTNUM_EL1 3 0 13 0 7
Field 63:0 SoftwareContextNumber
EndSysreg

Sysreg CLIDR_EL1 3 1 0 0 1
Res0 63:47
Field 46:33 Ttypen
Expand Down

0 comments on commit b1179b7

Please sign in to comment.