summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-01-30 15:09:34 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-03-27 21:42:45 +0300
commit091be550a70a086c3b4420c6155e733dc410f190 (patch)
tree8695bacab15ffcce06acc58f724472ea5e7a2252 /arch/mips/kernel/traps.c
parente1bebbab1eaecac77d77033010b5e0f51b737e64 (diff)
downloadlinux-091be550a70a086c3b4420c6155e733dc410f190.tar.xz
MIPS: clear MSACSR cause bits when handling MSA FP exception
Much like for traditional scalar FP exceptions, the cause bits in the MSACSR register need to be cleared following an MSA FP exception. Without doing so the exception will simply be raised again whenever the kernel restores MSACSR from a tasks saved context, leading to undesirable spurious exceptions. Clear the cause bits from the handle_msa_fpe function, mirroring the way handle_fpe clears the cause bits in FCSR. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9164/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions