linux/arch/blackfin
Graf Yang 01b9f4b0ed Blackfin: improve double fault debug handling
Since the hardware only provides reporting for the last exception handled,
and the values are valid only when executing the exception handler, we
need to save the context for reporting at a later point.  While we do this
for one exception, it doesn't work properly when handling a second one as
the original exception is clobbered by the double fault.  So when double
fault debugging is enabled, create a dedicated shadow of these values and
save/restore out of there.  Now the crash report properly displays the
first exception as well as the second one.

Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-09-16 21:31:57 -04:00
..
boot Blackfin: stick the CPU name into boot image name 2009-06-22 21:16:03 -04:00
configs Blackfin: update defconfigs 2009-06-22 21:16:01 -04:00
include/asm Blackfin: improve double fault debug handling 2009-09-16 21:31:57 -04:00
kernel Blackfin: improve double fault debug handling 2009-09-16 21:31:57 -04:00
lib Blackfin: fix misnomer of some I-pipe helpers 2009-09-16 21:28:30 -04:00
mach-bf518 Blackfin: rename PCF8574 driver config 2009-09-16 21:28:57 -04:00
mach-bf527 Blackfin: clean up duplicate I2C device type definitions 2009-09-16 21:31:53 -04:00
mach-bf533 Blackfin: bf533-stamp: fix typo in SPI frequency for ad1836 codec 2009-09-16 21:31:56 -04:00
mach-bf537 Blackfin: bf537-stamp: update AD714x resources 2009-09-16 21:31:51 -04:00
mach-bf538 Blackfin: bf538: add bfin_clear_PPI_STATUS() helper 2009-09-16 21:31:47 -04:00
mach-bf548 Blackfin: fix BF548 UART0 DMA IRQ translation 2009-09-16 21:31:46 -04:00
mach-bf561 Blackfin: improve double fault debug handling 2009-09-16 21:31:57 -04:00
mach-common Blackfin: improve double fault debug handling 2009-09-16 21:31:57 -04:00
mm Blackfin: catch hardware errors earlier during booting 2009-09-16 21:31:44 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Kconfig Blackfin: unify duplicated SMP checks in L2 cache kconfig 2009-09-16 21:28:59 -04:00
Kconfig.debug Blackfin: make deferred hardware errors more exact 2009-06-12 06:11:44 -04:00
Makefile Blackfin: add support for bzip2/lzma compressed kernel images 2009-06-13 07:20:13 -04:00