summaryrefslogtreecommitdiffstats
path: root/arch/arm64/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-05-03 18:02:32 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-05-04 15:30:28 +0100
commit41fde735062d8dbf7ebf27b278ac567eaf8d9255 (patch)
treea69dc94cb9c041db53b77e4a8a5a93ccb7f084b7 /arch/arm64/tools
parente33bb6461cd6ca0e0dad8392f0e3ee0179871e7a (diff)
downloadlinux-41fde735062d8dbf7ebf27b278ac567eaf8d9255.tar.bz2
arm64/sysreg: Generate definitions for TTBRn_EL1
Automatically generate definitions for accessing the TTBRn_EL1 registers, no functional change. Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20220503170233.507788-12-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/tools')
-rw-r--r--arch/arm64/tools/sysreg14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 4d8991574437..e77354847a64 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -113,3 +113,17 @@ Enum 7:4 AES
EndEnum
Res0 3:0
EndSysreg
+
+SysregFields TTBRx_EL1
+Field 63:48 ASID
+Field 47:1 BADDR
+Field 0 CnP
+EndSysregFields
+
+Sysreg TTBR0_EL1 3 0 2 0 0
+Fields TTBRx_EL1
+EndSysreg
+
+Sysreg TTBR1_EL1 3 0 2 0 1
+Fields TTBRx_EL1
+EndSysreg