]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock
authorFuad Tabba <tabba@google.com>
Fri, 29 Aug 2025 09:51:42 +0000 (10:51 +0100)
committerWill Deacon <will@kernel.org>
Thu, 11 Sep 2025 13:46:07 +0000 (14:46 +0100)
commitf4d4ebc84995178273740f3e601e97fdefc561d2
tree6a1a75f466f7588017c3809d1e0d53a6e31717d8
parent2c2529e470627a8de22ec366d2f4c3146fb3fe96
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock

The `ID_AA64MMFR4_EL1.EIESB` field, is an unsigned enumeration, but was
incorrectly defined as a `SignedEnum` when introduced in commit
cfc680bb04c5 ("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 ad16d4cf0b4f ("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>
arch/arm64/tools/sysreg