Skip to content

Commit f26cd73

Browse files
brooniewilldeacon
authored andcommitted
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: 85ed24d ("arm64/sme: Implement streaming SVE signal handling") Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 7dde62f commit f26cd73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ static int setup_sigframe_layout(struct rt_sigframe_user_layout *user,
737737
return err;
738738
}
739739

740-
if (system_supports_sve()) {
740+
if (system_supports_sve() || system_supports_sme()) {
741741
unsigned int vq = 0;
742742

743743
if (add_all || test_thread_flag(TIF_SVE) ||

0 commit comments

Comments
 (0)