mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 18:40:10 +00:00
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock
[ Upstream commitf4d4ebc849] The `ID_AA64MMFR4_EL1.EIESB` field, is an unsigned enumeration, but was incorrectly defined as a `SignedEnum` when introduced in commitcfc680bb04("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 commitad16d4cf0b("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
997222a4c1
commit
d35ed24aff
@@ -1693,7 +1693,7 @@ UnsignedEnum 43:40 TraceFilt
|
|||||||
0b0000 NI
|
0b0000 NI
|
||||||
0b0001 IMP
|
0b0001 IMP
|
||||||
EndEnum
|
EndEnum
|
||||||
UnsignedEnum 39:36 DoubleLock
|
SignedEnum 39:36 DoubleLock
|
||||||
0b0000 IMP
|
0b0000 IMP
|
||||||
0b1111 NI
|
0b1111 NI
|
||||||
EndEnum
|
EndEnum
|
||||||
@@ -2409,7 +2409,7 @@ UnsignedEnum 11:8 ASID2
|
|||||||
0b0000 NI
|
0b0000 NI
|
||||||
0b0001 IMP
|
0b0001 IMP
|
||||||
EndEnum
|
EndEnum
|
||||||
SignedEnum 7:4 EIESB
|
UnsignedEnum 7:4 EIESB
|
||||||
0b0000 NI
|
0b0000 NI
|
||||||
0b0001 ToEL3
|
0b0001 ToEL3
|
||||||
0b0010 ToELx
|
0b0010 ToELx
|
||||||
|
|||||||
Reference in New Issue
Block a user