arm64/sme: Don't use streaming mode to probe the maximum SME VL
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 13:04:35 +0000 (13:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:28 +0000 (09:42 +0200)
commit8efd0420290e81a348358c93d589a97dffdd935d
treeeb4aa49ff7ff4481b36009520b76440dfacfc992
parent1d9a735d4e45e9f7c13c2172ede27500a607a4ca
arm64/sme: Don't use streaming mode to probe the maximum SME VL

[ Upstream commit fcd3d2c082b2a19da2326b2b38ba5a05536dcd32 ]

During development the architecture added the RDSVL instruction which means
we do not need to enter streaming mode to enumerate the SME VLs, use it
when we probe the maximum supported VL. Other users were already updated.

No functional change.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221223-arm64-sme-probe-max-v1-1-cbde68f67ad0@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Stable-dep-of: 01948b09edc3 ("arm64/fpsimd: Only provide the length to cpufeature for xCR registers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/fpsimd.c