linux/arch/blackfin
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
..
boot Blackfin arch: add a cheesy install target 2007-10-22 00:45:55 +08:00
configs [Blackfin] arch: turn generic time on by default 2008-02-29 12:26:41 +08:00
kernel [Blackfin] arch: fix up - CONFIG_BLKFIN_WT was renamed CONFIG_BFIN_WT while the MPU code was out-of-tree. 2008-04-23 07:11:55 +08:00
lib [Blackfin] arch: fix bug - make memcpy return the dest addr. 2007-12-21 21:12:21 +08:00
mach-bf527 [Blackfin] arch: punt the simple ad5304 spi driver now that the generic spidev driver lets you do it from userspace 2008-02-25 12:19:57 +08:00
mach-bf533 [Blackfin] arch: add i2c board info struct and move to new-style i2c interface 2008-03-26 10:02:13 +08:00
mach-bf537 [Blackfin] arch: add i2c board info struct and move to new-style i2c interface 2008-03-26 10:02:13 +08:00
mach-bf548 [Blackfin] arch: add i2c board info struct and move to new-style i2c interface 2008-03-26 10:02:13 +08:00
mach-bf561 [Blackfin] arch: conditionally enable flash resources since it requests the async memory bank 2008-03-26 08:09:12 +08:00
mach-common [Blackfin] arch: fix bug - when using trace buffer with CONFIG_MPU enabled. 2008-04-23 07:17:34 +08:00
mm [Blackfin] arch: kill section mismatch warnings 2008-02-29 12:02:10 +08:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
Kconfig [Blackfin] arch: initial generic time and clock sources 2008-02-29 12:24:23 +08:00
Kconfig.debug [Blackfin] arch: add slightly better help text for CPLB_INFO 2008-02-02 15:32:40 +08:00
Makefile [Blackfin] arch: declare CHECKFLAGS to make sparse output more readable 2008-03-07 02:43:48 +08:00