linux/arch/metag/lib
James Hogan a1db9b2c1b metag/usercopy: Add missing fixups
commit b884a190af upstream.

The rapf copy loops in the Meta usercopy code is missing some extable
entries for HTP cores with unaligned access checking enabled, where
faults occur on the instruction immediately after the faulting access.

Add the fixup labels and extable entries for these cases so that corner
case user copy failures don't cause kernel crashes.

Fixes: 373cd784d0 ("metag: Memory handling")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-metag@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-04-12 12:41:13 +02:00
..
ashldi3.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
ashrdi3.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
checksum.c metag: move EXPORT_SYMBOL(csum_partial) to metag_ksyms.c 2013-07-04 10:00:02 +01:00
clear_page.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
cmpdi2.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
copy_page.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
delay.c metag: Optimised library functions 2013-03-02 20:09:52 +00:00
div64.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
divsi3.S metag: Fix typos 2016-07-15 09:55:49 +01:00
ip_fast_csum.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
lshrdi3.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
Makefile metag: Build infrastructure 2013-03-02 20:09:54 +00:00
memcpy.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
memmove.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
memset.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
modsi3.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
muldi3.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
ucmpdi2.S metag: Optimised library functions 2013-03-02 20:09:52 +00:00
usercopy.c metag/usercopy: Add missing fixups 2017-04-12 12:41:13 +02:00