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]>
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