arm64/signal: Always allocate SVE signal frames on SME only systems
authorMark Brown <broonie@kernel.org>
Tue, 27 Dec 2022 17:12:06 +0000 (17:12 +0000)
committerWill Deacon <will@kernel.org>
Thu, 5 Jan 2023 15:31:18 +0000 (15:31 +0000)
commitf26cd7372160da2eba31061d7943348ab9f2c01d
tree63589ff836ddee83652addb0add29f3ab3b3f164
parent7dde62f0687c8856b6c0660066c7ee83a6a6f033
arm64/signal: Always allocate SVE signal frames on SME only systems

Currently we only allocate space for SVE signal frames on systems that
support SVE, meaning that SME only systems do not allocate a signal frame
for streaming mode SVE state. Change the check so space is allocated if
either feature is supported.

Fixes: 85ed24dad290 ("arm64/sme: Implement streaming SVE signal handling")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221223-arm64-fix-sme-only-v1-3-938d663f69e5@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/signal.c