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

Suzuki K Poulose
2025-12-15T21:33:38Z

On 14/11/2025 16:06, Alexandru Elisei wrote:
> 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

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>