Skip to content

Commit 885c6d8

Browse files
Fuad Tabbawilldeacon
authored andcommitted
arm64/sysreg: Add missing system register definitions for FGT
Add the definitions of missing system registers that are trappable by fine grain traps. The definitions are based on DDI0601 2023-09. Signed-off-by: Fuad Tabba <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 4f101cd commit 885c6d8

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

arch/arm64/tools/sysreg

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,10 +2086,18 @@ Sysreg CONTEXTIDR_EL1 3 0 13 0 1
20862086
Fields CONTEXTIDR_ELx
20872087
EndSysreg
20882088

2089+
Sysreg RCWSMASK_EL1 3 0 13 0 3
2090+
Field 63:0 RCWSMASK
2091+
EndSysreg
2092+
20892093
Sysreg TPIDR_EL1 3 0 13 0 4
20902094
Field 63:0 ThreadID
20912095
EndSysreg
20922096

2097+
Sysreg RCWMASK_EL1 3 0 13 0 6
2098+
Field 63:0 RCWMASK
2099+
EndSysreg
2100+
20932101
Sysreg SCXTNUM_EL1 3 0 13 0 7
20942102
Field 63:0 SoftwareContextNumber
20952103
EndSysreg
@@ -2714,6 +2722,33 @@ Field 1 PIE
27142722
Field 0 PnCH
27152723
EndSysreg
27162724

2725+
SysregFields MAIR2_ELx
2726+
Field 63:56 Attr7
2727+
Field 55:48 Attr6
2728+
Field 47:40 Attr5
2729+
Field 39:32 Attr4
2730+
Field 31:24 Attr3
2731+
Field 23:16 Attr2
2732+
Field 15:8 Attr1
2733+
Field 7:0 Attr0
2734+
EndSysregFields
2735+
2736+
Sysreg MAIR2_EL1 3 0 10 2 1
2737+
Fields MAIR2_ELx
2738+
EndSysreg
2739+
2740+
Sysreg MAIR2_EL2 3 4 10 1 1
2741+
Fields MAIR2_ELx
2742+
EndSysreg
2743+
2744+
Sysreg AMAIR2_EL1 3 0 10 3 1
2745+
Field 63:0 ImpDef
2746+
EndSysreg
2747+
2748+
Sysreg AMAIR2_EL2 3 4 10 3 1
2749+
Field 63:0 ImpDef
2750+
EndSysreg
2751+
27172752
SysregFields PIRx_ELx
27182753
Field 63:60 Perm15
27192754
Field 59:56 Perm14
@@ -2765,6 +2800,14 @@ Sysreg POR_EL12 3 5 10 2 4
27652800
Fields PIRx_ELx
27662801
EndSysreg
27672802

2803+
Sysreg S2POR_EL1 3 0 10 2 5
2804+
Fields PIRx_ELx
2805+
EndSysreg
2806+
2807+
Sysreg S2PIR_EL2 3 4 10 2 5
2808+
Fields PIRx_ELx
2809+
EndSysreg
2810+
27682811
Sysreg LORSA_EL1 3 0 10 4 0
27692812
Res0 63:52
27702813
Field 51:16 SA

0 commit comments

Comments
 (0)