]> 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)
commitb016db0f76b4a529b8736e5e66581ceab16c166f
treee3ef9b7b3a642793f01b6bd742bb0f40973793cc
parent5c046039294647f38ac813593c21f1b2f58f0b96
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