arm64/sve: Ensure that all fields in ZCR_EL1 are set to known values
authorMark Brown <broonie@kernel.org>
Tue, 13 Feb 2024 15:32:45 +0000 (15:32 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 22 Feb 2024 19:39:34 +0000 (19:39 +0000)
commit2f0090549b649cc9fd61c0193189c25f8fc03119
treebebec01eec42207b8e38167cc823b92fe856c464
parent21eb468e9fc11692952c42f86a44d07f94803d4f
arm64/sve: Ensure that all fields in ZCR_EL1 are set to known values

At present nothing in our CPU initialisation code ever sets unknown fields
in ZCR_EL1 to known values, all updates to ZCR_EL1 are read/modify/write
sequences for LEN. All the unknown fields are RES0, explicitly initialise
them as such to avoid future surprises.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240213-arm64-fp-init-vec-cr-v1-1-7e7c2d584f26@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/fpsimd.c