kernel-ark/arch/blackfin/mach-common
Robin Getz ae4f073c40 Blackfin: make EVT3->EVT5 lowering more robust wrt IPEND[4]
We handle many exceptions at EVT5 (hardware error level) so that we can
catch exceptions in our exception handling code.  Today - if the global
interrupt enable bit (IPEND[4]) is set (interrupts disabled) our trap
handling code goes into a infinite loop, since we need interrupts to be
on to defer things to EVT5.

Normal kernel code should not trigger this for any reason as IPEND[4] gets
cleared early (when doing an interrupt context save) and the kernel stack
there should be sane (or something much worse is happening in the system).
But there have been a few times where this has happened, so this change
makes sure we dump a proper crash message even when things have gone south.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-09-16 21:28:28 -04:00
..
arch_checks.c Blackfin: decouple unrelated cache settings to get exact behavior 2009-06-22 21:15:59 -04:00
cache-c.c Blackfin: add blackfin_invalidate_entire_icache for SMP systems 2009-06-13 07:20:07 -04:00
cache.S Blackfin: simplify the do_flush macro 2009-06-12 06:03:48 -04:00
clocks-init.c Blackfin: add note about anomaly 05000242 being worked around 2009-06-12 06:11:42 -04:00
cpufreq.c Blackfin: decouple unrelated cache settings to get exact behavior 2009-06-22 21:15:59 -04:00
dpmc_modes.S Blackfin arch: fix bug - On bf548-ezkit, ethernet fails to work after wakeup from "mem" 2009-03-05 18:41:24 +08:00
dpmc.c [Blackfin] arch: Functional power management support: Add CPU and platform voltage scaling support 2008-05-07 11:41:26 +08:00
entry.S Blackfin: make EVT3->EVT5 lowering more robust wrt IPEND[4] 2009-09-16 21:28:28 -04:00
head.S Blackfin: fix command line corruption with DEBUG_DOUBLEFAULT 2009-06-12 06:11:52 -04:00
interrupt.S Blackfin: make deferred hardware errors more exact 2009-06-12 06:11:44 -04:00
ints-priority.c Blackfin: allow CONFIG_TICKSOURCE_GPTMR0 with interrupt pipeline 2009-06-22 21:15:54 -04:00
irqpanic.c Blackfin: only build irqpanic.c when needed 2009-06-18 21:40:49 -04:00
lock.S Blackfin arch: rename cache_lock() to bfin_cache_lock() 2008-11-18 17:48:22 +08:00
Makefile Blackfin: only build irqpanic.c when needed 2009-06-18 21:40:49 -04:00
pm.c Blackfin: decouple unrelated cache settings to get exact behavior 2009-06-22 21:15:59 -04:00
smp.c arch/blackfin: Add kmalloc NULL tests 2009-07-16 01:52:54 -04:00