linux/include/asm-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
..
mach-bf527 [Blackfin] arch: remove TWI I2C register accessing helper macros, because we moved to use i2c new-style interface 2008-03-27 07:25:21 +08:00
mach-bf533 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-bf537 [Blackfin] arch: remove TWI I2C register accessing helper macros, because we moved to use i2c new-style interface 2008-03-27 07:25:21 +08:00
mach-bf548 [Blackfin] arch: remove TWI I2C register accessing helper macros, because we moved to use i2c new-style interface 2008-03-27 07:25:21 +08:00
mach-bf561 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-common Blackfin arch: More explicitly describe what the instructions do in inline assembly. 2007-11-18 00:00:10 +08:00
a.out.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
atomic.h blackfin architecture 2007-05-07 12:12:58 -07:00
auxvec.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin5xx_spi.h [Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support 2008-02-09 01:54:09 +08:00
bfin_simple_timer.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin_sport.h blackfin architecture 2007-05-07 12:12:58 -07:00
bfin-global.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
bitops.h forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
blackfin.h Blackfin arch: Fix Anomaly hanlding, as pointed out by Mike 2007-08-03 17:56:29 +08:00
bug.h blackfin architecture 2007-05-07 12:12:58 -07:00
bugs.h blackfin architecture 2007-05-07 12:12:58 -07:00
byteorder.h blackfin architecture 2007-05-07 12:12:58 -07:00
cache.h blackfin architecture 2007-05-07 12:12:58 -07:00
cacheflush.h Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
checksum.h blackfin architecture 2007-05-07 12:12:58 -07:00
cplb-mpu.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cplb.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cplbinit.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cpumask.h blackfin architecture 2007-05-07 12:12:58 -07:00
cputime.h blackfin architecture 2007-05-07 12:12:58 -07:00
current.h blackfin architecture 2007-05-07 12:12:58 -07:00
delay.h Blackfin arch: add support for working around anomaly 05000312 2007-11-21 16:08:58 +08:00
device.h blackfin architecture 2007-05-07 12:12:58 -07:00
div64.h blackfin architecture 2007-05-07 12:12:58 -07:00
dma-mapping.h Blackfin arch: Add definition of dma_mapping_error 2007-06-21 11:34:16 +08:00
dma.h include: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:54 -04:00
dpmc.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
early_printk.h Blackfin arch: Initial patch to add earlyprintk support 2007-10-09 17:24:49 +08:00
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
emergency-restart.h blackfin architecture 2007-05-07 12:12:58 -07:00
entry.h blackfin architecture 2007-05-07 12:12:58 -07:00
errno.h blackfin architecture 2007-05-07 12:12:58 -07:00
fb.h fbdev: detect primary display device 2007-07-17 10:23:11 -07:00
fcntl.h blackfin architecture 2007-05-07 12:12:58 -07:00
fixed_code.h Blackfin arch: ensure that speculative loads of bad pointers don't cause us to do bad things. 2007-10-29 18:23:28 +08:00
flat.h blackfin architecture 2007-05-07 12:12:58 -07:00
futex.h blackfin architecture 2007-05-07 12:12:58 -07:00
gpio.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
gptimers.h [Blackfin] arch: make sure we have proper description/copyright/license lines 2008-02-25 15:06:07 +08:00
hardirq.h Blackfin arch: Enable BF54x PIN/GPIO interrupts 2007-07-12 16:17:18 +08:00
hw_irq.h blackfin architecture 2007-05-07 12:12:58 -07:00
ide.h ide: remove ide_default_io_ctl() macro 2008-04-18 00:46:34 +02:00
io.h remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
ioctl.h blackfin architecture 2007-05-07 12:12:58 -07:00
ioctls.h blackfin enable arbitary speed serial setting 2007-08-05 19:16:05 +08:00
ipcbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
irq_handler.h Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
irq_regs.h blackfin architecture 2007-05-07 12:12:58 -07:00
irq.h [Blackfin] arch: Cleanup abd Simplify: 2008-02-25 13:50:20 +08:00
Kbuild Blackfin arch: defines and provides entry points for certain user space functions at fixed addresses 2007-06-21 11:34:16 +08:00
kdebug.h blackfin architecture 2007-05-07 12:12:58 -07:00
kgdb.h Blackfin arch: update kgdb patch 2007-10-10 16:47:58 +08:00
kmap_types.h blackfin architecture 2007-05-07 12:12:58 -07:00
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
l1layout.h blackfin architecture 2007-05-07 12:12:58 -07:00
linkage.h blackfin architecture 2007-05-07 12:12:58 -07:00
local.h blackfin architecture 2007-05-07 12:12:58 -07:00
mem_map.h blackfin architecture 2007-05-07 12:12:58 -07:00
mman.h Blackfin arch: clean up some coding style issues 2007-07-12 17:26:31 +08:00
mmu_context.h [Blackfin] arch: current_l1_stack_save is a pointer, so use NULL rather than 0 2008-03-05 19:02:23 -07:00
mmu.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
module.h blackfin architecture 2007-05-07 12:12:58 -07:00
msgbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
mutex.h blackfin architecture 2007-05-07 12:12:58 -07:00
namei.h blackfin architecture 2007-05-07 12:12:58 -07:00
nand.h [MTD] [NAND] Blackfin on-chip NAND Flash Controller driver 2007-10-13 14:36:49 +01:00
page_offset.h Blackfin arch: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN 2007-11-23 14:28:44 +08:00
page.h Add pgtable_t to remaining nommu architectures 2008-02-09 11:08:33 -08:00
param.h blackfin architecture 2007-05-07 12:12:58 -07:00
pci.h blackfin architecture 2007-05-07 12:12:58 -07:00
percpu.h blackfin architecture 2007-05-07 12:12:58 -07:00
pgalloc.h blackfin architecture 2007-05-07 12:12:58 -07:00
pgtable.h Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
poll.h blackfin architecture 2007-05-07 12:12:58 -07:00
portmux.h Blackfin arch: gpio pinmux and resource allocation API required by BF537 on chip ethernet mac driver 2007-10-04 00:35:05 +08:00
posix_types.h asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
processor.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
ptrace.h blackfin architecture 2007-05-07 12:12:58 -07:00
reboot.h Blackfin arch: Workaround reboot bug, issue SSYNC at the start of bfin_reset 2007-10-11 00:29:49 +08:00
resource.h blackfin architecture 2007-05-07 12:12:58 -07:00
scatterlist.h blackfin: remove sg_address() 2007-10-23 12:42:44 +02:00
sections.h blackfin architecture 2007-05-07 12:12:58 -07:00
segment.h blackfin architecture 2007-05-07 12:12:58 -07:00
semaphore.h Generic semaphore implementation 2008-04-17 10:42:34 -04:00
sembuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
setup.h blackfin architecture 2007-05-07 12:12:58 -07:00
shmbuf.h blackfin architecture 2007-05-07 12:12:58 -07:00
shmparam.h blackfin architecture 2007-05-07 12:12:58 -07:00
sigcontext.h blackfin architecture 2007-05-07 12:12:58 -07:00
siginfo.h blackfin architecture 2007-05-07 12:12:58 -07:00
signal.h [Blackfin] arch: add missing __user marking to ss_sp member of signalstack and a few userspace system functions 2008-03-07 02:37:41 +08:00
socket.h [NET]: Introducing socket mark socket option. 2008-01-31 19:27:19 -08:00
sockios.h blackfin architecture 2007-05-07 12:12:58 -07:00
spinlock.h blackfin architecture 2007-05-07 12:12:58 -07:00
stat.h blackfin architecture 2007-05-07 12:12:58 -07:00
statfs.h blackfin architecture 2007-05-07 12:12:58 -07:00
string.h Blackfin arch: move EXPORT_SYMBOL() to C files where the symbol is actually defined 2007-11-21 15:34:51 +08:00
system.h Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg 2008-02-07 08:42:31 -08:00
termbits.h blackfin enable arbitary speed serial setting 2007-08-05 19:16:05 +08:00
termios.h [Blackfin] arch: remove duplicated definitions of the line discipline numbers N_* in asm-blackfin/termios.h 2008-02-02 16:14:53 +08:00
thread_info.h remove unused TIF_NOTIFY_RESUME flag 2007-07-31 15:39:38 -07:00
timex.h blackfin architecture 2007-05-07 12:12:58 -07:00
tlb.h blackfin architecture 2007-05-07 12:12:58 -07:00
tlbflush.h remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
topology.h blackfin architecture 2007-05-07 12:12:58 -07:00
trace.h [Blackfin] arch: fix bug - when using trace buffer with CONFIG_MPU enabled. 2008-04-23 07:17:34 +08:00
traps.h [Blackfin] arch: fix bug - trap_tests fails to recover on some tests. 2008-01-27 15:38:56 +08:00
types.h remove strict ansi check from __u64 in asm/types.h 2007-10-17 08:42:53 -07:00
uaccess.h [Blackfin] arch: fix up coding style in uaccess.h 2007-12-24 12:40:29 +08:00
ucontext.h blackfin architecture 2007-05-07 12:12:58 -07:00
unaligned.h blackfin architecture 2007-05-07 12:12:58 -07:00
unistd.h [Blackfin] arch: to kill syscalls missing warning by adding new timerfd syscalls 2008-03-06 16:04:58 -07:00
user.h Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00