[RFC PATCH v6 02/35] arm64/sysreg: Define MDCR_EL2.E2PB values

Alexandru Elisei
2025-11-14T16:07:40Z

KVM will make use of the different values for MDCR_EL2.E2PB, document them.

Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
---
arch/arm64/tools/sysreg | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 1e7b69594f04..0de8af0e0778 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -3851,7 +3851,12 @@ Field 17 HPMD
Res0 16
Field 15 EnSPM
Field 14 TPMS
-Field 13:12 E2PB
+UnsignedEnum 13:12 E2PB
+ 0b00 EL2
+ 0b01 RESERVED
+ 0b10 EL1_TRAP
+ 0b11 EL1
+EndEnum
Field 11 TDRA
Field 10 TDOSA
Field 9 TDA
--
2.51.2