aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/tools/sysreg
diff options
context:
space:
mode:
authorGravatar Marc Zyngier <maz@kernel.org> 2023-01-12 11:38:46 +0900
committerGravatar Oliver Upton <oliver.upton@linux.dev> 2023-01-12 21:07:43 +0000
commite2c0b51f1c9dacc68292ce9ebffbfd4204d1ca58 (patch)
treebf6566fea3cd957b06ca4c5667b0f0329e0adb50 /arch/arm64/tools/sysreg
parentLinux 6.2-rc3 (diff)
downloadlinux-e2c0b51f1c9dacc68292ce9ebffbfd4204d1ca58.tar.gz
linux-e2c0b51f1c9dacc68292ce9ebffbfd4204d1ca58.tar.bz2
linux-e2c0b51f1c9dacc68292ce9ebffbfd4204d1ca58.zip
arm64: Allow the definition of UNKNOWN system register fields
The CCSIDR_EL1 register contains an UNKNOWN field (which replaces fields that were actually defined in previous revisions of the architecture). Define an 'Unkn' field type modeled after the Res0/Res1 types to allow such description. This allows the generation of #define CCSIDR_EL1_UNKN (UL(0) | GENMASK_ULL(31, 28)) which may have its use one day. Hopefully the architecture doesn't add too many of those in the future. Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230112023852.42012-2-akihiko.odaki@daynix.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/tools/sysreg')
-rw-r--r--arch/arm64/tools/sysreg2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 184e58fd5631..f754265aec5f 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -15,6 +15,8 @@
# Res1 <msb>[:<lsb>]
+# Unkn <msb>[:<lsb>]
+
# Field <msb>[:<lsb>] <name>
# Enum <msb>[:<lsb>] <name>