]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Allow emulation for unaligned [LS]DXC1 instructions
authorPaul Burton <paul.burton@imgtec.com>
Thu, 21 Apr 2016 11:25:38 +0000 (12:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commitd3c630888342409be03b93a90d0cb2f26a163091
tree9548c871ba43f1022cfc06216f1d9b5609f85905
parentb290b1dfe1a8f6ddae09dbbc423622e6deb18cad
MIPS: Allow emulation for unaligned [LS]DXC1 instructions

If an address error exception occurs for a LDXC1 or SDXC1 instruction,
within the cop1x opcode space, allow it to be passed through to the FPU
emulator rather than resulting in a SIGILL. This causes LDXC1 & SDXC1 to
be handled in a manner consistent with the more common LDC1 & SDC1
instructions.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13143/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/unaligned.c