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.
Unified · Split
| @@ -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) || |