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)
commita97279836867b1cb50a3d4f0b1bf60e0abe6d46c
treee3ef9b7b3a642793f01b6bd742bb0f40973793cc
parentdd2288f4a020d693360e3e8d72f8b9d9c25f5ef6
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