Skip to content

Commit e94e06d

Browse files
brooniewilldeacon
authored andcommitted
arm64/sysreg: Add new system registers for GCS
FEAT_GCS introduces a number of new system registers. Add the registers available up to EL2 to sysreg as per DDI0601 2022-12. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent e3a649e commit e94e06d

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

arch/arm64/tools/sysreg

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,41 @@ Sysreg SMCR_EL1 3 0 1 2 6
19031903
Fields SMCR_ELx
19041904
EndSysreg
19051905

1906+
SysregFields GCSCR_ELx
1907+
Res0 63:10
1908+
Field 9 STREn
1909+
Field 8 PUSHMEn
1910+
Res0 7
1911+
Field 6 EXLOCKEN
1912+
Field 5 RVCHKEN
1913+
Res0 4:1
1914+
Field 0 PCRSEL
1915+
EndSysregFields
1916+
1917+
Sysreg GCSCR_EL1 3 0 2 5 0
1918+
Fields GCSCR_ELx
1919+
EndSysreg
1920+
1921+
SysregFields GCSPR_ELx
1922+
Field 63:3 PTR
1923+
Res0 2:0
1924+
EndSysregFields
1925+
1926+
Sysreg GCSPR_EL1 3 0 2 5 1
1927+
Fields GCSPR_ELx
1928+
EndSysreg
1929+
1930+
Sysreg GCSCRE0_EL1 3 0 2 5 2
1931+
Res0 63:11
1932+
Field 10 nTR
1933+
Field 9 STREn
1934+
Field 8 PUSHMEn
1935+
Res0 7:6
1936+
Field 5 RVCHKEN
1937+
Res0 4:1
1938+
Field 0 PCRSEL
1939+
EndSysreg
1940+
19061941
Sysreg ALLINT 3 0 4 3 0
19071942
Res0 63:14
19081943
Field 13 ALLINT
@@ -2133,6 +2168,10 @@ Field 4 DZP
21332168
Field 3:0 BS
21342169
EndSysreg
21352170

2171+
Sysreg GCSPR_EL0 3 3 2 5 1
2172+
Fields GCSPR_ELx
2173+
EndSysreg
2174+
21362175
Sysreg SVCR 3 3 4 2 2
21372176
Res0 63:2
21382177
Field 1 ZA
@@ -2531,6 +2570,14 @@ Sysreg SMCR_EL2 3 4 1 2 6
25312570
Fields SMCR_ELx
25322571
EndSysreg
25332572

2573+
Sysreg GCSCR_EL2 3 4 2 5 0
2574+
Fields GCSCR_ELx
2575+
EndSysreg
2576+
2577+
Sysreg GCSPR_EL2 3 4 2 5 1
2578+
Fields GCSPR_ELx
2579+
EndSysreg
2580+
25342581
Sysreg DACR32_EL2 3 4 3 0 0
25352582
Res0 63:32
25362583
Field 31:30 D15
@@ -2590,6 +2637,14 @@ Sysreg SMCR_EL12 3 5 1 2 6
25902637
Fields SMCR_ELx
25912638
EndSysreg
25922639

2640+
Sysreg GCSCR_EL12 3 5 2 5 0
2641+
Fields GCSCR_ELx
2642+
EndSysreg
2643+
2644+
Sysreg GCSPR_EL12 3 5 2 5 1
2645+
Fields GCSPR_ELx
2646+
EndSysreg
2647+
25932648
Sysreg FAR_EL12 3 5 6 0 0
25942649
Field 63:0 ADDR
25952650
EndSysreg

0 commit comments

Comments
 (0)