Skip to content

Commit 7b416a1

Browse files
brooniectmarinas
authored andcommitted
arm64/sysreg: Convert OSDTRRX_EL1 to automatic generation
Convert OSDTRRX_EL1 to automatic generation as per DDI0601 2023-03, no functional changes. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Shaoqin Huang <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 31d504f commit 7b416a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
#define SYS_SVCR_SMSTART_SM_EL0 sys_reg(0, 3, 4, 3, 3)
135135
#define SYS_SVCR_SMSTOP_SMZA_EL0 sys_reg(0, 3, 4, 6, 3)
136136

137-
#define SYS_OSDTRRX_EL1 sys_reg(2, 0, 0, 0, 2)
138137
#define SYS_OSDTRTX_EL1 sys_reg(2, 0, 0, 3, 2)
139138
#define SYS_OSECCR_EL1 sys_reg(2, 0, 0, 6, 2)
140139
#define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4)

arch/arm64/tools/sysreg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
# feature that introduces them (eg, FEAT_LS64_ACCDATA introduces enumeration
4949
# item ACCDATA) though it may be more taseful to do something else.
5050

51+
Sysreg OSDTRRX_EL1 2 0 0 0 2
52+
Res0 63:32
53+
Field 31:0 DTRRX
54+
EndSysreg
55+
5156
Sysreg MDCCINT_EL1 2 0 0 2 0
5257
Res0 63:31
5358
Field 30 RX

0 commit comments

Comments
 (0)