diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2016-08-25 20:37:38 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-06-13 16:29:20 +0300 |
commit | 62494116045eac405cb83ab8a7c24c1c8b088892 (patch) | |
tree | 322733666c45b820601701d8f5486f679197f929 /arch/um | |
parent | 48ea252abd409832aa181edf8c3ae94d95c182f2 (diff) | |
download | linux-62494116045eac405cb83ab8a7c24c1c8b088892.tar.xz |
MIPS: R2-on-R6 MULTU/MADDU/MSUBU emulation bugfix
[ Upstream commit d65e5677ad5b3a49c43f60ec07644dc1f87bbd2e ]
MIPS instructions MULTU, MADDU and MSUBU emulation requires registers HI/LO
to be converted to signed 32bits before 64bit sign extension on MIPS64.
Bug was found on running MIPS32 R2 test application on MIPS64 R6 kernel.
Fixes: b0a668fb2038 ("MIPS: kernel: mips-r2-to-r6-emul: Add R2 emulator for MIPS R6")
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Reported-by: Nikola.Veljkovic@imgtec.com
Cc: paul.burton@imgtec.com
Cc: yamada.masahiro@socionext.com
Cc: akpm@linux-foundation.org
Cc: andrea.gelmini@gelma.net
Cc: macro@imgtec.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14043/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions