linux-stable-rt/drivers
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
..
acorn
acpi
amba
atm
base [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
block [PATCH] Deref in drivers/block/paride/pf.c 2006-06-29 10:26:20 -07:00
bluetooth
cdrom
char [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
clocksource
connector
cpufreq [PATCH] cpu hotplug: make cpu_notifier related notifier blocks __cpuinit only 2006-06-27 17:32:41 -07:00
crypto
dio
dma
edac
eisa
fc4
firmware
hwmon
i2c [PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled 2006-06-27 18:36:39 -07:00
ide [PATCH] Set err_stops_fifo for newer Promise as well 2006-06-28 14:59:07 -07:00
ieee1394
infiniband
input Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2006-06-28 15:12:25 -07:00
isdn [PATCH] SKB leak in drivers/isdn/i4l/isdn_x25iface.c 2006-06-29 10:26:21 -07:00
leds [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
macintosh
mca
md [PATCH] drivers/md/raid5.c: remove an unused variable 2006-06-29 10:26:21 -07:00
media
message [PATCH] drivers/message/i2o/iop.c: unexport i2o_msg_nop() 2006-06-27 17:32:48 -07:00
mfd
misc [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
mmc
mtd Merge git://git.infradead.org/mtd-2.6 2006-06-27 19:13:56 -07:00
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2006-06-27 19:15:50 -07:00
nubus
oprofile
parisc [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
parport
pci [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
pcmcia [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
pnp
rapidio [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
rtc [PATCH] RTC: add rtc-rs5c348 driver 2006-06-28 14:59:04 -07:00
s390 [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
sbus
scsi Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2006-06-27 19:07:21 -07:00
serial [PATCH] m68knommu: fix compilation problems with 68328serial driver 2006-06-28 15:03:47 -07:00
sh
sn [PATCH] remove devinit from ioc4 pci_driver 2006-06-29 10:26:20 -07:00
spi [PATCH] SPI: infrastructure to initialize spi_device.mode early 2006-06-28 15:51:01 -07:00
tc
telephony
usb [PATCH] remove TTY_DONT_FLIP 2006-06-28 14:59:05 -07:00
video [PATCH] fix sgivwfb compile 2006-06-29 10:26:19 -07:00
w1
zorro
Kconfig
Makefile