]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: Add encoding for POR_EL2
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:35 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:21 +0000 (02:44 +0000)
POR_EL2 is the equivalent of POR_EL1 for the EL2&0 translation
regime, and it is sorely missing from the sysreg file.

Add the sucker.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241023145345.1613824-28-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/tools/sysreg

index 8db4431093b269501df89a9df21f84674978d47f..a33136243bdf281cf0d171c57a65eedfe80e6f86 100644 (file)
@@ -2907,6 +2907,10 @@ Sysreg   POR_EL1         3       0       10      2       4
 Fields PIRx_ELx
 EndSysreg
 
+Sysreg POR_EL2         3       4       10      2       4
+Fields PIRx_ELx
+EndSysreg
+
 Sysreg POR_EL12        3       5       10      2       4
 Fields PIRx_ELx
 EndSysreg