History

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.

Mark Brown committed 3 years ago

Commit f26cd731 parent 7dde62f1 file · +1 −1Browse files

Unified · Split

arch/arm64/kernel/signal.c+1−1
@@ -737,7 +737,7 @@ static int setup_sigframe_layout(struct rt_sigframe_user_layout *user, · 736 unmodified lines
737 return err;737 return err;
738 }738 }
739 739
740 if (system_supports_sve()) {740 if (system_supports_sve() || system_supports_sme()) {
741 unsigned int vq = 0;741 unsigned int vq = 0;
742 742
743 if (add_all || test_thread_flag(TIF_SVE) ||743 if (add_all || test_thread_flag(TIF_SVE) ||

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t