summaryrefslogtreecommitdiff
path: root/block/ioprio.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-01-30 12:09:34 +0000
committerRalf Baechle <ralf@linux-mips.org>2015-03-27 19:42:45 +0100
commit091be550a70a086c3b4420c6155e733dc410f190 (patch)
tree8695bacab15ffcce06acc58f724472ea5e7a2252 /block/ioprio.c
parente1bebbab1eaecac77d77033010b5e0f51b737e64 (diff)
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 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions