linux/arch/sh/kernel/cpu/sh4
Paul Mundt baf4326e49 sh: interrupt exception handling rework
Kill off interrupt_table for all of the CPU subtypes, we now
default in to stepping in to do_IRQ() for _all_ IRQ exceptions
and counting the spurious ones, rather than simply flipping on
the ones we cared about. This and enabling the IRQ by default
automatically has already uncovered a couple of bugs and IRQs
that weren't being caught, as well as some that are being
generated far too often (SCI Tx Data Empty, for example).

The general rationale is to use a marker for interrupt exceptions,
test for it in the handle_exception() path, and skip out to
do_IRQ() if it's found. Everything else follows the same behaviour
of finding the cached EXPEVT value in r2/r2_bank, we just rip out
the INTEVT read from entry.S entirely (except for in the kGDB NMI
case, which is another matter).

Note that while this changes the do_IRQ() semantics regarding r4
handling, they were fundamentally broken anyways (relying entirely
on r2_bank for the cached code). With this, we do the INTEVT read
from do_IRQ() itself (in the CONFIG_CPU_HAS_INTEVT case), or fall
back on r4 for the muxed IRQ number, which should also be closer
to what SH-2 and SH-2A want anyways.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-10-12 12:03:04 +09:00
..
clock-sh4-202.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh4.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh7770.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh7780.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
clock-sh73180.c [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
ex.S sh: interrupt exception handling rework 2006-10-12 12:03:04 +09:00
fpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile sh: Add support for SH7706/SH7710/SH7343 CPUs. 2006-09-27 17:38:11 +09:00
probe.c sh: More intelligent entry_mask/way_size calculation. 2006-09-27 18:28:34 +09:00
setup-sh4-202.c sh: Add setup code for various CPU subtypes. 2006-09-27 17:30:35 +09:00
setup-sh7343.c sh: Add support for SH7706/SH7710/SH7343 CPUs. 2006-09-27 17:38:11 +09:00
setup-sh7750.c sh: Add setup code for various CPU subtypes. 2006-09-27 17:30:35 +09:00
setup-sh7760.c sh: Add setup code for various CPU subtypes. 2006-09-27 17:30:35 +09:00
setup-sh7770.c sh: Add setup code for various CPU subtypes. 2006-09-27 17:30:35 +09:00
setup-sh7780.c sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
setup-sh73180.c sh: Add setup code for various CPU subtypes. 2006-09-27 17:30:35 +09:00
sq.c sh: Store Queue API rework. 2006-09-27 15:49:57 +09:00