Skip to content

Commit 55b87b7

Browse files
Marc Zyngierwilldeacon
authored andcommitted
arm64: Fix HFGxTR_EL2 field naming
The HFGxTR_EL2 fields do not always follow the naming described in the spec, nor do they match the name of the register they trap in the rest of the kernel. It is a bit sad that they were written by hand despite the availability of a machine readable version... Fixes: cc077e7 ("arm64/sysreg: Convert HFG[RW]TR_EL2 to automatic generation") Signed-off-by: Marc Zyngier <maz@kernel.org> Cc: Mark Brown <broonie@kernel.org> Cc: Will Deacon <will@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.org> Cc: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230703130416.1495307-1-maz@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent 06c2afb commit 55b87b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm64/tools/sysreg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ Field 0 SM
20172017
EndSysreg
20182018

20192019
SysregFields HFGxTR_EL2
2020-
Field 63 nAMIAIR2_EL1
2020+
Field 63 nAMAIR2_EL1
20212021
Field 62 nMAIR2_EL1
20222022
Field 61 nS2POR_EL1
20232023
Field 60 nPOR_EL1
@@ -2032,9 +2032,9 @@ Field 52 nGCS_EL0
20322032
Res0 51
20332033
Field 50 nACCDATA_EL1
20342034
Field 49 ERXADDR_EL1
2035-
Field 48 EXRPFGCDN_EL1
2036-
Field 47 EXPFGCTL_EL1
2037-
Field 46 EXPFGF_EL1
2035+
Field 48 ERXPFGCDN_EL1
2036+
Field 47 ERXPFGCTL_EL1
2037+
Field 46 ERXPFGF_EL1
20382038
Field 45 ERXMISCn_EL1
20392039
Field 44 ERXSTATUS_EL1
20402040
Field 43 ERXCTLR_EL1
@@ -2049,8 +2049,8 @@ Field 35 TPIDR_EL0
20492049
Field 34 TPIDRRO_EL0
20502050
Field 33 TPIDR_EL1
20512051
Field 32 TCR_EL1
2052-
Field 31 SCTXNUM_EL0
2053-
Field 30 SCTXNUM_EL1
2052+
Field 31 SCXTNUM_EL0
2053+
Field 30 SCXTNUM_EL1
20542054
Field 29 SCTLR_EL1
20552055
Field 28 REVIDR_EL1
20562056
Field 27 PAR_EL1

0 commit comments

Comments
 (0)