Skip to content

Commit 103b884

Browse files
brooniectmarinas
authored andcommitted
arm64/sysreg: Convert MDSCR_EL1 to automatic register generation
Convert MDSCR_EL1 to automatic register generation as per DDI0616 2023-03. No functional change. Reviewed-by: Shaoqin Huang <[email protected]> Signed-off-by: Mark Brown <[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 3def338 commit 103b884

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

arch/arm64/include/asm/sysreg.h

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

137137
#define SYS_OSDTRRX_EL1 sys_reg(2, 0, 0, 0, 2)
138-
#define SYS_MDSCR_EL1 sys_reg(2, 0, 0, 2, 2)
139138
#define SYS_OSDTRTX_EL1 sys_reg(2, 0, 0, 3, 2)
140139
#define SYS_OSECCR_EL1 sys_reg(2, 0, 0, 6, 2)
141140
#define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4)

arch/arm64/tools/sysreg

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,34 @@ Field 29 TX
5555
Res0 28:0
5656
EndSysreg
5757

58+
Sysreg MDSCR_EL1 2 0 0 2 2
59+
Res0 63:36
60+
Field 35 EHBWE
61+
Field 34 EnSPM
62+
Field 33 TTA
63+
Field 32 EMBWE
64+
Field 31 TFO
65+
Field 30 RXfull
66+
Field 29 TXfull
67+
Res0 28
68+
Field 27 RXO
69+
Field 26 TXU
70+
Res0 25:24
71+
Field 23:22 INTdis
72+
Field 21 TDA
73+
Res0 20
74+
Field 19 SC2
75+
Res0 18:16
76+
Field 15 MDE
77+
Field 14 HDE
78+
Field 13 KDE
79+
Field 12 TDCC
80+
Res0 11:7
81+
Field 6 ERR
82+
Res0 5:1
83+
Field 0 SS
84+
EndSysreg
85+
5886
Sysreg ID_PFR0_EL1 3 0 0 1 0
5987
Res0 63:32
6088
UnsignedEnum 31:28 RAS

0 commit comments

Comments
 (0)