Skip to content

Commit dbab796

Browse files
Fuad Tabbagregkh
authored andcommitted
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock
[ Upstream commit f4d4ebc ] The `ID_AA64MMFR4_EL1.EIESB` field, is an unsigned enumeration, but was incorrectly defined as a `SignedEnum` when introduced in commit cfc680b ("arm64: sysreg: Add layout for ID_AA64MMFR4_EL1"). This is corrected to `UnsignedEnum`. Conversely, the `ID_AA64DFR0_EL1.DoubleLock` field, is a signed enumeration, but was incorrectly defined as an `UnsignedEnum`. This is corrected to `SignedEnum`, which wasn't correctly set when annotated as such in commit ad16d4c ("arm64/sysreg: Initial unsigned annotations for ID registers"). Signed-off-by: Fuad Tabba <tabba@google.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 804e2e4 commit dbab796

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/tools/sysreg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ UnsignedEnum 43:40 TraceFilt
11301130
0b0000 NI
11311131
0b0001 IMP
11321132
EndEnum
1133-
UnsignedEnum 39:36 DoubleLock
1133+
SignedEnum 39:36 DoubleLock
11341134
0b0000 IMP
11351135
0b1111 NI
11361136
EndEnum
@@ -1697,7 +1697,7 @@ UnsignedEnum 11:8 ASID2
16971697
0b0000 NI
16981698
0b0001 IMP
16991699
EndEnum
1700-
SignedEnum 7:4 EIESB
1700+
UnsignedEnum 7:4 EIESB
17011701
0b0000 NI
17021702
0b0001 ToEL3
17031703
0b0010 ToELx

0 commit comments

Comments
 (0)