linux/arch/mips/kernel
Ingo Molnar d1bef4ed5f [PATCH] genirq: rename desc->handler to desc->chip
This patch-queue improves the generic IRQ layer to be truly generic, by adding
various abstractions and features to it, without impacting existing
functionality.

While the queue can be best described as "fix and improve everything in the
generic IRQ layer that we could think of", and thus it consists of many
smaller features and lots of cleanups, the one feature that stands out most is
the new 'irq chip' abstraction.

The irq-chip abstraction is about describing and coding and IRQ controller
driver by mapping its raw hardware capabilities [and quirks, if needed] in a
straightforward way, without having to think about "IRQ flow"
(level/edge/etc.) type of details.

This stands in contrast with the current 'irq-type' model of genirq
architectures, which 'mixes' raw hardware capabilities with 'flow' details.
The patchset supports both types of irq controller designs at once, and
converts i386 and x86_64 to the new irq-chip design.

As a bonus side-effect of the irq-chip approach, chained interrupt controllers
(master/slave PIC constructs, etc.) are now supported by design as well.

The end result of this patchset intends to be simpler architecture-level code
and more consolidation between architectures.

We reused many bits of code and many concepts from Russell King's ARM IRQ
layer, the merging of which was one of the motivations for this patchset.

This patch:

rename desc->handler to desc->chip.

Originally i did not want to do this, because it's a big patch.  But having
both "desc->handler", "desc->handle_irq" and "action->handler" caused a
large degree of confusion and made the code appear alot less clean than it
truly is.

I have also attempted a dual approach as well by introducing a
desc->chip alias - but that just wasnt robust enough and broke
frequently.

So lets get over with this quickly.  The conversion was done automatically
via scripts and converts all the code in the kernel.

This renaming patch is the first one amongst the patches, so that the
remaining patches can stay flexible and can be merged and split up
without having some big monolithic patch act as a merge barrier.

[akpm@osdl.org: build fix]
[akpm@osdl.org: another build fix]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-29 10:26:21 -07:00
..
apm.c [MIPS] APM emu support 2006-06-19 17:39:22 +01:00
asm-offsets.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
binfmt_elfn32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
binfmt_elfo32.c [MIPS] jiffies_to_compat_timeval fix 2006-02-21 16:58:23 +00:00
branch.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
cpu-bugs64.c [MIPS] Fix sparse warnings about too big constants. 2006-06-06 00:15:19 +01:00
cpu-probe.c [MIPS] SB1: Only pass1 FPUs are broken beyond recovery. 2006-06-06 00:15:18 +01:00
dma-no-isa.c Dummy ISA DMA functions for systems that don't have ISA but share 2005-10-29 19:30:17 +01:00
entry.S [MIPS] Fix typo 2006-06-01 00:28:29 +01:00
gdb-low.S [MIPS] Fix kgdb exception handler from user mode. 2006-06-01 00:28:32 +01:00
gdb-stub.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
genex.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
head.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
i8253.c Input: pcspkr - separate device and driver registration 2006-03-14 00:11:50 -05:00
i8259.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irix5sys.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irixelf.c [PATCH] Don't uselessly export task_struct to userspace in core dumps 2005-10-30 17:37:18 -08:00
irixinv.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irixioctl.c Reformatting, remove debugging code. 2005-10-29 19:30:57 +01:00
irixsig.c [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
irq_cpu.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
irq-msc01.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
irq-mv6434x.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
irq-rm7000.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
irq-rm9000.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
irq.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
kspd.c [MIPS] kpsd and other AP/SP improvements. 2006-04-19 04:14:27 +02:00
linux32.c [PATCH] fix mips sys32_p{read,write} 2006-04-26 07:52:21 -07:00
Makefile [MIPS] APM emu support 2006-06-19 17:39:22 +01:00
mips_ksyms.c [MIPS] Sort out duplicate exports. 2006-04-19 04:14:14 +02:00
mips-mt.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
module.c [MIPS] Ignore unresolved weak symbols in modules. 2006-06-06 00:15:10 +01:00
proc.c [MIPS] Treat R14000 like R10000. 2006-06-01 00:28:35 +01:00
process.c [MIPS] FPU affinity for MT ASE. 2006-04-19 04:14:28 +02:00
ptrace32.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
ptrace.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
r4k_fpu.S Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
r4k_switch.S [MIPS] Fix fpu_save_double on 64-bit. 2006-06-19 17:39:13 +01:00
r2300_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r2300_switch.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r6000_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
reset.c [MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again. 2006-02-07 13:30:22 +00:00
rtlx.c [MIPS] Cleanup inode->r_dev usage. 2006-04-27 15:13:50 +01:00
scall32-o32.S [PATCH] mips: fix number of mremap arguments 2006-06-23 07:42:56 -07:00
scall64-64.S [MIPS] Wire up sync_file_range(2). 2006-04-19 04:14:14 +02:00
scall64-n32.S [MIPS] Wire up sync_file_range(2). 2006-04-19 04:14:14 +02:00
scall64-o32.S [MIPS] open() forces O_LARGEFILE for o32 on 64bit kernels 2006-06-06 00:15:17 +01:00
semaphore.c Always use ".set mips3" rather than select between "mips2" or "mips3" 2005-10-29 19:31:31 +01:00
setup.c [MIPS] Cleanup memory managment initialization. 2006-06-19 17:39:23 +01:00
signal32.c [MIPS] War on whitespace: cleanup initial spaces followed by tabs. 2006-03-21 13:27:47 +00:00
signal_n32.c [MIPS] fix wrong __user usage in _sysn32_rt_sigsuspend 2006-03-21 13:27:46 +00:00
signal-common.h [MIPS] Update struct sigcontext member names 2006-06-01 00:28:31 +01:00
signal.c [MIPS] Signal cleanup 2006-03-21 13:27:46 +00:00
smp-mt.c [MIPS] FPU affinity for MT ASE. 2006-04-19 04:14:28 +02:00
smp.c [PATCH] node hotplug: register cpu: remove node struct 2006-06-27 17:32:37 -07:00
smtc-asm.S [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc-proc.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
syscall.c [MIPS] Fix compiler warnings (field width, unused variable) 2006-06-06 00:15:20 +01:00
sysirix.c [PATCH] kernel/sys.c: cleanups 2006-06-25 10:01:06 -07:00
time.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
traps.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
unaligned.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
vmlinux.lds.S [MIPS] Use generic STABS_DEBUG macro. 2006-06-01 00:28:33 +01:00
vpe.c [MIPS] Cleanup inode->r_dev usage. 2006-04-27 15:13:50 +01:00