Skip to contentSkip to conversation

arm64/sysreg: Update ID_AA64DFR0_EL1 register

PATCH Applied Anshuman Khandual 3 participants 3 messages Feb 20, 2024 – Feb 21, 2024 arm64

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64/sysreg: Update ID_AA64DFR0_EL1 register

This updates ID_AA64DFR0_EL1.PMSVer and ID_AA64DFR0_EL1.DebugVer register fields as per the definitions based on DDI0601 2023-12.

---
This applies on v6.8-rc5

Changes in V2:

- Split ID_AA64DFR0_EL1 changes in this patch and updated PMSVer per Mark

Changes in V1:

https://lore.kernel.org/all/[email protected]/

 arch/arm64/tools/sysreg | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/tools/sysreg +2 -0
index a9cab2b730a3..508224a0e078 100644
@@ -1223,6 +1223,7 @@ UnsignedEnum	35:32	PMSVer
 	0b0010	V1P1
 	0b0011	V1P2
 	0b0100	V1P3
+	0b0101	V1P4
 EndEnum
 Field	31:28	CTX_CMPs
 Res0	27:24
@@ -1249,6 +1250,7 @@ UnsignedEnum	3:0	DebugVer
 	0b1000	V8P2
 	0b1001	V8P4
 	0b1010	V8P8
+	0b1011	V8P9
 EndEnum
 EndSysreg
 
Signature · 1 line
2.25.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 2 lines · Anshuman Khandual

This updates ID_AA64DFR0_EL1.PMSVer and ID_AA64DFR0_EL1.DebugVer register fields as per the definitions based on DDI0601 2023-12.

arch/arm64/tools/sysreg UnsignedEnum 35:32 PMSVer · line 1227

Quoted 6 lines
arch/arm64/tools/sysreg +1 -0
@@ -1223,6 +1223,7 @@ UnsignedEnum	35:32	PMSVer
 	0b0010	V1P1
 	0b0011	V1P2
 	0b0100	V1P3
+	0b0101	V1P4
 EndEnum

There's also a FEAT_SPE_SME documented in the text but not in the table of enumerated values (I've reported this) - it makes sense to me to skip this until the XML is internally consistent.

arch/arm64/tools/sysreg UnsignedEnum 3:0 DebugVer · line 1254

Quoted 8 lines
arch/arm64/tools/sysreg +1 -0
 Field	31:28	CTX_CMPs
 Res0	27:24
@@ -1249,6 +1250,7 @@ UnsignedEnum	3:0	DebugVer
 	0b1000	V8P2
 	0b1001	V8P4
 	0b1010	V8P8
+	0b1011	V8P9
 EndEnum

There's an IMPDEF value defined for this like the 32 bit equivalent but that was a preexisting issue.