We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045aecd commit 507ea5dCopy full SHA for 507ea5d
arch/arm64/kernel/fpsimd.c
@@ -679,7 +679,7 @@ static void fpsimd_to_sve(struct task_struct *task)
679
void *sst = task->thread.sve_state;
680
struct user_fpsimd_state const *fst = &task->thread.uw.fpsimd_state;
681
682
- if (!system_supports_sve())
+ if (!system_supports_sve() && !system_supports_sme())
683
return;
684
685
vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread));
@@ -705,7 +705,7 @@ static void sve_to_fpsimd(struct task_struct *task)
705
unsigned int i;
706
__uint128_t const *p;
707
708
709
710
711
vl = thread_get_cur_vl(&task->thread);
0 commit comments