[PATCH 1/4] arm64: sysreg: Fix three incorrect enum values
Fuad Tabba
fuad.tabba at linux.dev
Tue Oct 13 06:02:44 PDT 2026
Three enum values in the sysreg file don't match DDI0601 2026-09.
Outer Shareable in VTCR_EL2.SH0 is 0b10, not 0b01, as TCR_EL1.SH0 in
the same file already has it. Thumb-2 in ID_PFR0_EL1.State1 is 0b0011,
not 0b0010, and the M-profile model in ID_PFR1_EL1.MProgMod is 0b0010,
not 0b0001. The spec lists all three old values as reserved.
There are currently no users of these values. The VTCR_EL2 one came in
with commit a035001dea37 ("arm64: Convert VTCR_EL2 to sysreg
infratructure"), the ID_PFR0_EL1 one with commit fb0b8d1a24d8
("arm64/sysreg: Convert ID_PFR0_EL1 to automatic generation") and the
ID_PFR1_EL1 one with commit 1224308075f1 ("arm64/sysreg: Convert
ID_PFR1_EL1 to automatic generation").
Signed-off-by: Fuad Tabba <fuad.tabba at linux.dev>
---
arch/arm64/tools/sysreg | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index e2d37ee221b84..f2812545f336e 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -434,7 +434,7 @@ EndEnum
UnsignedEnum 7:4 State1
0b0000 NI
0b0001 THUMB
- 0b0010 THUMB2
+ 0b0011 THUMB2
EndEnum
UnsignedEnum 3:0 State0
0b0000 NI
@@ -469,7 +469,7 @@ UnsignedEnum 15:12 Virtualization
EndEnum
UnsignedEnum 11:8 MProgMod
0b0000 NI
- 0b0001 IMP
+ 0b0010 IMP
EndEnum
Enum 7:4 Security
0b0000 NI
@@ -4652,7 +4652,7 @@ Enum 15:14 TG0
EndEnum
Enum 13:12 SH0
0b00 NONE
- 0b01 OUTER
+ 0b10 OUTER
0b11 INNER
EndEnum
Enum 11:10 ORGN0
--
2.39.5
More information about the linux-arm-kernel
mailing list