]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:58:17 +0000 (11:58 +0100)
commit65053dbff571130cda2e674b019066abc44d4f7c
treeccc97100fe1f511fcab918d8c296d82e9d6742ad
parent2a03fd361797082ad744e0f3a56ef9f13fcd50f4
arm64/signal: Always allocate SVE signal frames on SME only systems

commit d2635fc02f57f404818c8d20ffc4c72a2112b47d upstream.

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: e877f490cfc5 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/signal.c