linux/arch/sparc/lib
Dave Aldridge 3c7f622120 sparc64: fix fault handling in NGbzero.S and GENbzero.S
When any of the functions contained in NGbzero.S and GENbzero.S
vector through *bzero_from_clear_user, we may end up taking a
fault when executing one of the store alternate address space
instructions. If this happens, the exception handler does not
restore the %asi register.

This commit fixes the issue by introducing a new exception
handler that ensures the %asi register is restored when
a fault is handled.

Orabug: 25577560

Signed-off-by: Dave Aldridge <david.j.aldridge@oracle.com>
Reviewed-by: Rob Gardner <rob.gardner@oracle.com>
Reviewed-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-09 12:16:25 -07:00
..
ashldi3.S
ashrdi3.S
atomic32.c
atomic_64.S
bitext.c
bitops.S
blockops.S
bzero.S
checksum_32.S
checksum_64.S
clear_page.S
cmpdi2.c
copy_in_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
copy_page.S
copy_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
COPYING.LIB
csum_copy_from_user.S
csum_copy_to_user.S
csum_copy.S
divdi3.S
ffs.S
GENbzero.S sparc64: fix fault handling in NGbzero.S and GENbzero.S 2017-05-09 12:16:25 -07:00
GENcopy_from_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
GENcopy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
GENmemcpy.S
GENpage.S
GENpatch.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
hweight.S
iomap.c
ipcsum.S
libgcc.h
locks.S
lshrdi3.S
Makefile
mcount.S
memcmp.S
memcpy.S
memmove.S
memscan_32.S
memscan_64.S
memset.S
muldi3.S
NG2copy_from_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NG2copy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NG2memcpy.S
NG2patch.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NG4clear_page.S
NG4copy_from_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NG4copy_page.S
NG4copy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NG4memcpy.S
NG4memset.S
NG4patch.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NGbzero.S sparc64: fix fault handling in NGbzero.S and GENbzero.S 2017-05-09 12:16:25 -07:00
NGcopy_from_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NGcopy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
NGmemcpy.S
NGpage.S
NGpatch.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
PeeCeeI.c
strlen.S
strncmp_32.S
strncmp_64.S
U1copy_from_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
U1copy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
U1memcpy.S
U3copy_from_user.S
U3copy_to_user.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
U3memcpy.S
U3patch.S sparc: switch to RAW_COPY_USER 2017-04-02 12:53:15 -04:00
ucmpdi2.c
udivdi3.S
VISsave.S
xor.S