It seems the patch 39148e94e3e1f0477ce8ed3fda00123722681f3a "MIPS: fork: Fix MSA/FPU/DSP context duplication race" assumes that DSP/FPU and MSA context should be inherited in child at clone/fork (look into patch description). It was done on Matthew Fortune request from toolchain team, I guess. Well, in this case it should prevent clearing TIF_MSA_CTX_LIVE in copy_thread(). Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@xxxxxxxxxx> --- arch/mips/kernel/process.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index f2975d4d1e44..a16e62d40210 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c @@ -163,7 +163,6 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, clear_tsk_thread_flag(p, TIF_USEDFPU); clear_tsk_thread_flag(p, TIF_USEDMSA); - clear_tsk_thread_flag(p, TIF_MSA_CTX_LIVE); #ifdef CONFIG_MIPS_MT_FPAFF clear_tsk_thread_flag(p, TIF_FPUBOUND);