2024-02-13 16:03:49

by Mark Brown

[permalink] [raw]
Subject: [PATCH 0/2] arm64/fp: Initialise all bits in vector control registers to known values

We currently do read/modify/write sequences whenever we update fields in
ZCR_EL1 and SMCR_EL1 so fields we are not explicitly handling will not
be initialised to known values, fix this. The EL2 registers are already
fully configured.

Signed-off-by: Mark Brown <[email protected]>
---
Mark Brown (2):
arm64/sve: Ensure that all fields in ZCR_EL1 are set to known values
arm64/sme: Ensure that all fields in SMCR_EL1 are set to known values

arch/arm64/kernel/fpsimd.c | 5 +++++
1 file changed, 5 insertions(+)
---
base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
change-id: 20240212-arm64-fp-init-vec-cr-018449327500

Best regards,
--
Mark Brown <[email protected]>



2024-02-22 22:05:10

by Catalin Marinas

[permalink] [raw]
Subject: Re: [PATCH 0/2] arm64/fp: Initialise all bits in vector control registers to known values

On Tue, 13 Feb 2024 15:32:44 +0000, Mark Brown wrote:
> We currently do read/modify/write sequences whenever we update fields in
> ZCR_EL1 and SMCR_EL1 so fields we are not explicitly handling will not
> be initialised to known values, fix this. The EL2 registers are already
> fully configured.
>
>

Applied to arm64 (for-next/misc), thanks!

[1/2] arm64/sve: Ensure that all fields in ZCR_EL1 are set to known values
https://git.kernel.org/arm64/c/2f0090549b64
[2/2] arm64/sme: Ensure that all fields in SMCR_EL1 are set to known values
https://git.kernel.org/arm64/c/93576e349887

--
Catalin