Re: [PATCH v21 1/4] arm64/sysreg: Add BRBE registers and fields
From: Will Deacon
Date: Mon May 19 2025 - 10:09:10 EST
On Mon, Apr 07, 2025 at 12:41:30PM -0500, Rob Herring (Arm) wrote:
> From: Anshuman Khandual <anshuman.khandual@xxxxxxx>
>
> This patch adds definitions related to the Branch Record Buffer Extension
> (BRBE) as per ARM DDI 0487K.a. These will be used by KVM and a BRBE driver
> in subsequent patches.
>
> Some existing BRBE definitions in asm/sysreg.h are replaced with equivalent
> generated definitions.
>
> Cc: Marc Zyngier <maz@xxxxxxxxxx>
> Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> Signed-off-by: Mark Rutland <mark.rutland@xxxxxxx>
> Signed-off-by: "Rob Herring (Arm)" <robh@xxxxxxxxxx>
> Tested-by: James Clark <james.clark@xxxxxxxxxx>
> ---
> v19:
> - split BRBINF.CC field into mantissa and exponent
> ---
> arch/arm64/include/asm/sysreg.h | 17 ++----
> arch/arm64/tools/sysreg | 132 ++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 138 insertions(+), 11 deletions(-)
Some of the field names here are made up, but overall they seem to
correspond to the architecture, so:
Acked-by: Will Deacon <will@xxxxxxxxxx>
Will