linux/arch/blackfin/kernel
Robin Getz 13fe24f37d [Blackfin] arch: fix bug - trap_tests fails to recover on some tests.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3719

When the CPLBs get a miss, we do:
  - find a victim in the HW table
  - remove the victim
  - find the replacement in the software table
  - put it into the HW table.

If we can't find a replacement in the software table, we accidently
leave a duplicate in the HW table. This patch ensures that duplicate
is marked as not valid.

What we should do is find the replacement in the software table, before
we find a victim in the HW table - but its too late in the release cycle
to do that much restructuring of this code.

Rather that duplicate code, connect Hardware Errors (irq5) into trap_c,
so user space processes get killed properly.

The rest of irq_panic() can be moved into traps.c (later)

There is still a small corner case that causes problems when a
pheriperal interrupt goes off a single cycle before a user space
hardware error. This causes a kernel panic, rather than the user
space process being killed.

But, this checkin makes things work in 99.9% of the cases, and is a vast
improvement from what is there today (which fails 100% of the time).

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-01-27 15:38:56 +08:00
..
asm-offsets.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
bfin_dma_5xx.c Blackfin arch: export symbol get_dma_curr_desc_ptr for driver usage 2007-11-21 15:22:58 +08:00
bfin_gpio.c Blackfin arch: add new processor ADSP-BF52x arch/mach support 2007-10-21 16:54:27 +08:00
bfin_ksyms.c Blackfin arch: rename _return_from_exception to _bfin_return_from_exception and export it 2007-11-21 15:53:49 +08:00
cacheinit.c Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
cplbinit.c Blackfin arch: cplb and map header file cleanup 2007-11-21 16:12:12 +08:00
dma-mapping.c blackfin: fix sg fallout 2007-10-24 14:09:25 +02:00
dualcore_test.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
early_printk.c Blackfin arch: split apart dump_bfin_regs and merge/remove show_regs from process.c, which was largely duplicated 2007-11-21 16:46:49 +08:00
entry.S Blackfin arch: Fix random crash issue found by Michael. 2007-10-29 18:14:15 +08:00
fixed_code.S 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.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
gptimers.c Blackfin arch: add support for checking/clearing overruns in generic purpose Timer API 2007-10-29 18:02:09 +08:00
init_task.c Blackfin arch: fix bug kernel not to boot up with mtd filesystems 2007-11-18 00:09:49 +08:00
irqchip.c Blackfin arch: allow people to select the feature that is unavailable to the kernel 2007-08-05 17:03:59 +08:00
kgdb.c Blackfin arch: kgdb specific code 2007-06-29 16:35:17 +08:00
Makefile Blackfin arch: cleanup and promote the general purpose timers api to a core blackfin component 2007-10-21 23:37:54 +08:00
module.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
process.c Blackfin arch: split apart dump_bfin_regs and merge/remove show_regs from process.c, which was largely duplicated 2007-11-21 16:46:49 +08:00
ptrace.c Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
reboot.c Blackfin arch: add new processor ADSP-BF52x arch/mach support 2007-10-21 16:54:27 +08:00
setup.c Blackfin arch: fix bug kernel not to boot up with mtd filesystems 2007-11-18 00:09:49 +08:00
signal.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
sys_bfin.c Blackfin arch: after removing fs.h from mm.h, fix the broken on Blackfin arch 2007-08-11 15:47:39 -07:00
time.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
traps.c [Blackfin] arch: fix bug - trap_tests fails to recover on some tests. 2008-01-27 15:38:56 +08:00
vmlinux.lds.S Blackfin arch: fix bug kernel not to boot up with mtd filesystems 2007-11-18 00:09:49 +08:00