[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+EHjTxcY8wT-ztms2+SwJ-zywk08TjuKXLJiyk_9mO9y_y8Pg@mail.gmail.com>
Date: Mon, 11 Dec 2023 09:28:15 +0000
From: Fuad Tabba <tabba@...gle.com>
To: Mark Brown <broonie@...nel.org>
Cc: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Joey Gouly <joey.gouly@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 12/13] arm64/sysreg: Add definition for FPMR
Hi Mark,
On Sat, Dec 9, 2023 at 1:03 AM Mark Brown <broonie@...nel.org> wrote:
>
> DDI0601 2023-09 defines a new sysrem register FPMR (Floating Point Mode
> Register) which configures the new FP8 features. Add a definition of this
> register.
>
> Signed-off-by: Mark Brown <broonie@...nel.org>
> ---
Reviewed-by: Fuad Tabba <tabba@...gle.com>
Cheers,
/fuad
> arch/arm64/tools/sysreg | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
> index 1acec8f5c37d..1c6d1c904750 100644
> --- a/arch/arm64/tools/sysreg
> +++ b/arch/arm64/tools/sysreg
> @@ -2139,6 +2139,29 @@ Field 1 ZA
> Field 0 SM
> EndSysreg
>
> +Sysreg FPMR 3 3 4 4 2
> +Res0 63:38
> +Field 37:32 LSCALE2
> +Field 31:24 NSCALE
> +Res0 23
> +Field 22:16 LSCALE
> +Field 15 OSC
> +Field 14 OSM
> +Res0 13:9
> +UnsignedEnum 8:6 F8D
> + 0b000 E5M2
> + 0b001 E4M3
> +EndEnum
> +UnsignedEnum 5:3 F8S2
> + 0b000 E5M2
> + 0b001 E4M3
> +EndEnum
> +UnsignedEnum 2:0 F8S1
> + 0b000 E5M2
> + 0b001 E4M3
> +EndEnum
> +EndSysreg
> +
> SysregFields HFGxTR_EL2
> Field 63 nAMAIR2_EL1
> Field 62 nMAIR2_EL1
>
> --
> 2.39.2
>
Powered by blists - more mailing lists