[Blackfin] arch: Remove the circular buffering mechanism for exceptions
authorBernd Schmidt <bernds_cb1@t-online.de>
Thu, 24 Apr 2008 21:02:33 +0000 (05:02 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 24 Apr 2008 21:02:33 +0000 (05:02 +0800)
commit5d750b9e4f6ca7d366b4954517ff8be9ee07e1bf
tree39d05886fdb19f87e77b371688c133b67106931a
parent00d205a1ce1a24a1a9d9ebfbddbae56021cba826
[Blackfin] arch: Remove the circular buffering mechanism for exceptions

Remove the circular buffering mechanism for exceptions.  Instead, point RETX
at a safe location from which to fetch three NOPs.

This safe location is now in the fixed code area, and also used for certain
anomaly workarounds, to ensure that user space can find a valid ICPLB when
things are built with CONFIG_MPU.

Also, save I/DCPLB_FAULT_ADDRESS when lowering to level 5, since the hardware
reg is valid only at exception level.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/traps.c
arch/blackfin/mach-common/entry.S
arch/blackfin/mach-common/ints-priority.c