linux/arch/sparc64/lib
David S. Miller b445e26cbf [SPARC64]: Avoid membar instructions in delay slots.
In particular, avoid membar instructions in the delay
slot of a jmpl instruction.

UltraSPARC-I, II, IIi, and IIe have a bug, documented in
the UltraSPARC-IIi User's Manual, Appendix K, Erratum 51

The long and short of it is that if the IMU unit misses
on a branch or jmpl, and there is a store buffer synchronizing
membar in the delay slot, the chip can stop fetching instructions.

If interrupts are enabled or some other trap is enabled, the
chip will unwedge itself, but performance will suffer.

We already had a workaround for this bug in a few spots, but
it's better to have the entire tree sanitized for this rule.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-27 15:42:04 -07:00
..
atomic.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
bitops.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
bzero.S
checksum.S
clear_page.S
copy_in_user.S
copy_page.S
csum_copy_from_user.S
csum_copy_to_user.S
csum_copy.S
debuglocks.c [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
dec_and_lock.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
delay.c [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
find_bit.c
iomap.c
ipcsum.S
Makefile
mcount.S
memcmp.S
memmove.S
memscan.S
PeeCeeI.c
rwsem.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
strlen_user.S
strlen.S
strncmp.S
strncpy_from_user.S
U1copy_from_user.S
U1copy_to_user.S
U1memcpy.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
U3copy_from_user.S
U3copy_to_user.S
U3memcpy.S
U3patch.S
user_fixup.c
VISsave.S [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
xor.S