From: Mark Brown Date: Tue, 31 Jan 2023 00:18:44 +0000 (+0000) Subject: arm64/sysreg: Initial annotation of signed ID registers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c3ac60aa1cfeee4f3976392a9d1d32e79e78d207;p=linux.git arm64/sysreg: Initial annotation of signed ID registers We currently annotate a few bitfields as signed in hwcaps, update all of these to be SignedEnum in the sysreg generation. Further signed bitfields can be done incrementally, this is the minimum required for the conversion of the hwcaps to use token pasting to simplify their declaration. Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20221207-arm64-sysreg-helpers-v4-2-25b6b3fb9d18@kernel.org Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index a01161c02c633..adc3fcde27774 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