1
linux/arch/parisc/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
..
asm-offsets.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
binfmt_elf32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c [PARISC] Misc. janitorial work 2006-04-21 22:20:32 +00:00
drivers.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
entry.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
firmware.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
hardware.c [PARISC] Fix Dino reporting on J2240 2006-01-10 21:53:14 -05:00
head.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
hpmc.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
inventory.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
irq.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pa7300lc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pacache.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
parisc_ksyms.c [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00
pci-dma.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
pci.c [PARISC] Clean up compiler warning in pci.c 2006-01-22 20:26:43 -05:00
pdc_chassis.c [PARISC] Clarify pdc_stable license terms 2006-03-30 17:48:41 +00:00
pdc_cons.c [PARISC] Update pdc console from parisc tree 2005-10-21 22:50:06 -04:00
perf_asm.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
perf_images.h [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
perf.c [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
process.c [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
processor.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
ptrace.c [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
real2.S [PARISC] Properly specify section alignment for real2.S 2005-10-21 22:56:53 -04:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
signal32.c [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal32.h [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal.c [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
smp.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sys32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_parisc32.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
sys_parisc.c [PARISC] Add new entries to the syscall table 2006-04-21 22:20:35 +00:00
syscall_table.S [PARISC] Add new entries to the syscall table 2006-04-21 22:20:35 +00:00
syscall.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
time.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
topology.c [PATCH] node hotplug: register cpu: remove node struct 2006-06-27 17:32:37 -07:00
traps.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
unaligned.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
unwind.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
vmlinux.lds.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00