Skip to content
Commit 7dde62f0 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

arm64/signal: Always accept SVE signal frames on SME only systems



Currently we reject an attempt to restore a SVE signal frame on a system
with SME but not SVE supported. This means that it is not possible to
disable streaming mode via signal return as this is configured via the
flags in the SVE signal context. Instead accept the signal frame, we will
require it to have a vector length of 0 specified and no payload since the
task will have no SVE vector length configured.

Fixes: 85ed24da ("arm64/sme: Implement streaming SVE signal handling")
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221223-arm64-fix-sme-only-v1-2-938d663f69e5@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 0cab5b49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment