linux-stable-rt/arch/arm/lib
Catalin Marinas 90303b1023 [ARM] 3256/1: Make the function-returning ldm's use sp as the base register
Patch from Catalin Marinas

If the low interrupt latency mode is enabled for the CPU (from ARMv6
onwards), the ldm/stm instructions are no longer atomic. An ldm instruction
restoring the sp and pc registers can be interrupted immediately after sp
was updated but before the pc. If this happens, the CPU restores the base
register to the value before the ldm instruction but if the base register
is not sp, the interrupt routine will corrupt the stack and the restarted
ldm instruction will load garbage.

Note that future ARM cores might always run in the low interrupt latency
mode.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-01-12 16:53:51 +00:00
..
Makefile
ashldi3.S
ashrdi3.S
backtrace.S
bitops.h
changebit.S
clear_user.S
clearbit.S
copy_from_user.S
copy_page.S
copy_template.S
copy_to_user.S
csumipv6.S
csumpartial.S [ARM] 3152/1: make various assembly local labels actually local (the rest) 2005-11-11 21:51:49 +00:00
csumpartialcopy.S [ARM] 3256/1: Make the function-returning ldm's use sp as the base register 2006-01-12 16:53:51 +00:00
csumpartialcopygeneric.S [ARM] 3256/1: Make the function-returning ldm's use sp as the base register 2006-01-12 16:53:51 +00:00
csumpartialcopyuser.S [ARM] 3256/1: Make the function-returning ldm's use sp as the base register 2006-01-12 16:53:51 +00:00
delay.S [ARM] 3152/1: make various assembly local labels actually local (the rest) 2005-11-11 21:51:49 +00:00
div64.S
ecard.S
findbit.S [ARM] 3152/1: make various assembly local labels actually local (the rest) 2005-11-11 21:51:49 +00:00
floppydma.S
getuser.S [ARM] Fix get_user when passed a const pointer 2005-11-18 14:22:03 +00:00
io-acorn.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-readsb.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-readsl.S
io-readsw-armv3.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-readsw-armv4.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-shark.c
io-writesb.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-writesl.S
io-writesw-armv3.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
io-writesw-armv4.S [ARM] 3151/1: make various assembly local labels actually local (io-*.S) 2005-11-11 21:51:48 +00:00
lib1funcs.S
lshrdi3.S
memchr.S
memcpy.S
memmove.S
memset.S
memzero.S
muldi3.S
putuser.S
setbit.S
sha1.S
strchr.S
strncpy_from_user.S
strnlen_user.S
strrchr.S
testchangebit.S
testclearbit.S
testsetbit.S
uaccess.S [ARM] 3150/1: make various assembly local labels actually local (uaccess.S) 2005-11-11 21:51:47 +00:00
ucmpdi2.S