Skip to content
Commit 33c771ba authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: save/disable MSA in lose_fpu



The kernel depends upon MSA never being enabled when the FPU is not, a
condition which is currently violated in a few places (whilst saving
sigcontext, following mips_cpu_save). Catch all the problem cases by
disabling MSA in lose_fpu, after saving context if necessary.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7302/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b8340673
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment