]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: sysreg: Add missing ID_AA64ISAR[13]_EL1 fields and variants
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Feb 2024 13:18:02 +0000 (13:18 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 19 Feb 2024 17:12:59 +0000 (17:12 +0000)
Despite having the control bits for FEAT_SPECRES and FEAT_PACM,
the ID registers fields are either incomplete or missing.

Fix it.

Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240214131827.2856277-2-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/tools/sysreg

index fa3fe0856880556c1ae7df4cb7946ed6c7f37285..53daaaef46cbb76afa43899a81d68219b3f4f5ce 100644 (file)
@@ -1366,6 +1366,7 @@ EndEnum
 UnsignedEnum   43:40   SPECRES
        0b0000  NI
        0b0001  IMP
+       0b0010  COSP_RCTX
 EndEnum
 UnsignedEnum   39:36   SB
        0b0000  NI
@@ -1492,7 +1493,12 @@ EndEnum
 EndSysreg
 
 Sysreg ID_AA64ISAR3_EL1        3       0       0       6       3
-Res0   63:12
+Res0   63:16
+UnsignedEnum   15:12   PACM
+       0b0000  NI
+       0b0001  TRIVIAL_IMP
+       0b0010  FULL_IMP
+EndEnum
 UnsignedEnum   11:8    TLBIW
        0b0000  NI
        0b0001  IMP