]> git.baikalelectronics.ru Git - kernel.git/commit
parisc/unaligned: Fix ldw() and stw() unalignment handlers
authorHelge Deller <deller@gmx.de>
Fri, 18 Feb 2022 22:40:14 +0000 (23:40 +0100)
committerHelge Deller <deller@gmx.de>
Wed, 23 Feb 2022 17:01:06 +0000 (18:01 +0100)
commit6c2f679f6400063ebf1a2f7597f9803324d13418
treee3ef9b7b3a642793f01b6bd742bb0f40973793cc
parentddb3be017e1c707a9fa54adbda55c3cebe18c3a4
parisc/unaligned: Fix ldw() and stw() unalignment handlers

Fix 3 bugs:

a) emulate_stw() doesn't return the error code value, so faulting
instructions are not reported and aborted.

b) Tell emulate_ldw() to handle fldw_l as floating point instruction

c) Tell emulate_ldw() to handle ldw_m as integer instruction

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
arch/parisc/kernel/unaligned.c