linux/arch/blackfin/mach-common
Bernd Schmidt 2a0c4fdb66 [Blackfin] arch: fix bug - when using trace buffer with CONFIG_MPU enabled.
There were a couple of problems with the way the trace buffer state
is saved/restored in assembly.  The DEBUG_HWTRACE_SAVE/RESTORE macros
save a value to the stack, which is not immediately obvious; the CPLB
exception code needed changes to load the correct value of the stack
pointer.  The other problem is that the SAVE/RESTORE macros weren't
pushing and popping the value downwards on the stack, but rather moving
it _upwards_, which is of course completely broken.

We also need to make sure there's a matching DEBUG_HWTRACE_RESTORE in
the error case of the CPLB handler.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-23 07:17:34 +08:00
..
arch_checks.c Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
cache.S Blackfin arch: use HI/LO macros rather than masking the bit ranges ourselves 2007-07-25 10:11:42 +08:00
cacheinit.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
dpmc.S [Blackfin] arch: Fix CONFIG_PM support for BF561 2008-02-25 14:39:50 +08:00
entry.S [Blackfin] arch: fix bug - when using trace buffer with CONFIG_MPU enabled. 2008-04-23 07:17:34 +08:00
interrupt.S [Blackfin] arch: fix bug - trap_tests fails to recover on some tests. 2008-01-27 15:38:56 +08:00
ints-priority.c [Blackfin] arch: Cleanup abd Simplify: 2008-02-25 13:50:20 +08:00
irqpanic.c [Blackfin] arch: fix bug - trap_tests fails to recover on some tests. 2008-01-27 15:38:56 +08:00
lock.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
Makefile [Blackfin] arch: Merge BF561 support into ints-priority 2008-02-09 04:11:14 +08:00
pm.c [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00