[PATCH v2 4/7] arm64/sysreg: Annotate signed enumerations we use

Mark Brown broonie at kernel.org
Fri Dec 9 11:04:58 PST 2022


The only enumerations we currently define as signed are
ID_AA64PFR0_EL1.FP and ID_AA64PFR0_EL1.AdvSIMD, specify them as such in
sysreg.

Signed-off-by: Mark Brown <broonie at kernel.org>
---
 arch/arm64/tools/sysreg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index e8fb6684d7f3..16488c72827b 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -846,12 +846,12 @@ Enum	27:24	GIC
 	0b0001	IMP
 	0b0010	V4P1
 EndEnum
-Enum	23:20	AdvSIMD
+SignedEnum	23:20	AdvSIMD
 	0b0000	IMP
 	0b0001	FP16
 	0b1111	NI
 EndEnum
-Enum	19:16	FP
+SignedEnum	19:16	FP
 	0b0000	IMP
 	0b0001	FP16
 	0b1111	NI

-- 
2.30.2



More information about the linux-arm-kernel mailing list