linux/arch/sparc64
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
lib [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [SPARC64]: Avoid membar instructions in delay slots. 2005-06-27 15:42:04 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
solaris [SPARC64]: Fix cmsg length checks in Solaris emulation layer. 2005-06-21 15:39:22 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] make each arch use mm/Kconfig 2005-06-23 09:45:02 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00