[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36aba488-26d7-4dc9-9ca0-a14e3de028e9@redhat.com>
Date: Wed, 18 Dec 2024 15:40:13 +0100
From: Eric Auger <eauger@...hat.com>
To: Anshuman Khandual <anshuman.khandual@....com>,
linux-kernel@...r.kernel.org, kvmarm@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, maz@...nel.org
Cc: ryan.roberts@....com, Oliver Upton <oliver.upton@...ux.dev>,
James Morse <james.morse@....com>, Suzuki K Poulose
<suzuki.poulose@....com>, Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH V2 04/46] arm64/sysreg: Update register fields for
TRBIDR_EL1
Hi Anshuman
On 12/10/24 06:52, Anshuman Khandual wrote:
> This adds register fields for TRBIDR_EL1 as per the definitions based
> on DDI0601 2024-09.
>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Will Deacon <will@...nel.org>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: linux-arm-kernel@...ts.infradead.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@....com>
> ---
> arch/arm64/tools/sysreg | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
> index 59351931d907..10b1a0998d99 100644
> --- a/arch/arm64/tools/sysreg
> +++ b/arch/arm64/tools/sysreg
> @@ -3295,13 +3295,24 @@ Field 31:0 TRG
> EndSysreg
>
> Sysreg TRBIDR_EL1 3 0 9 11 7
> -Res0 63:12
> +Res0 63:48
> +Field 47:32 MaxBuffSize
> +Res0 31:16
> +UnsignedEnum 15:12 MPAM
> + 0b0000 NI
> + 0b0001 PMG
Out of curiosity how did you choose the PMG terminology?
I see "MPAM implemented by the Trace Buffer Unit, using default PARTID
and PMG values in External mode". Wouldn't be TBU more meaningful?
Eric
> + 0b0010 IMP
> +EndEnum
> Enum 11:8 EA
> 0b0000 NON_DESC
> 0b0001 IGNORE
> 0b0010 SERROR
> EndEnum
> -Res0 7:6
> +UnsignedEnum 7:6 AddrMode
> + 0b00 VIRT_PHYS
> + 0b01 VIRT_ONLY
> + 0b10 PHYS_ONLY
> +EndEnum
> Field 5 F
> Field 4 P
> Field 3:0 Align
Powered by blists - more mailing lists