Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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 [PATCH] pgdat allocation for new node add (get node id by acpi) 2006-06-27 17:32:36 -07:00
amba
atm [PATCH] update two drivers for poison.h 2006-06-27 17:32:38 -07:00
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 [PATCH] Bluetooth: fix potential NULL ptr deref in dtl1_cs.c::dtl1_hci_send_frame() 2006-06-26 09:58:16 -07:00
cdrom [PATCH] cdrom/mcdx: section fixes 2006-06-25 10:01:16 -07:00
char [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
clocksource [PATCH] GTOD: add scx200 HRT clocksource 2006-06-26 09:58:21 -07:00
connector [PATCH] connector-exports 2006-06-23 07:43:06 -07:00
cpufreq [PATCH] cpu hotplug: make cpu_notifier related notifier blocks __cpuinit only 2006-06-27 17:32:41 -07:00
crypto [CRYPTO] padlock: Rearrange context structure to reduce code size 2006-06-26 17:34:39 +10:00
dio
dma [IOAT]: Do not dereference THIS_MODULE directly to set unsafe. 2006-06-26 00:10:46 -07:00
edac
eisa
fc4
firmware [PATCH] DMI: cleanup kernel-doc, add to DocBook 2006-06-25 10:01:24 -07:00
hwmon spelling fixes 2006-06-26 18:35:02 +02:00
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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
infiniband [PATCH] Array overrun in drivers/infiniband/core/cma.c 2006-06-26 11:57:28 -07:00
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 Input: fix misspelling of Hangeul key 2006-06-26 01:51:23 -04:00
mca
md [PATCH] drivers/md/raid5.c: remove an unused variable 2006-06-29 10:26:21 -07:00
media V4L/DVB (4263): Fix warning when compiling on 64 bit machines 2006-06-27 00:17:43 -03:00
message [PATCH] drivers/message/i2o/iop.c: unexport i2o_msg_nop() 2006-06-27 17:32:48 -07:00
mfd [ARM] fix drivers/mfd/ucb1x00-core.c IRQ probing bug 2006-06-26 15:26:13 +01:00
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 [PATCH] oprofile: convert from semaphores to mutexes 2006-06-25 10:01:04 -07:00
parisc [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
parport Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-26 13:33:14 -07:00
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 [PATCH] pnp: card_probe(): fix memory leak 2006-06-25 10:01:01 -07:00
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 [OPENPROM]: Rewrite driver to use in-kernel device tree. 2006-06-25 23:19:30 -07:00
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 ixj: make ixj_set_tone_off() static 2006-06-26 18:43:54 +02:00
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 [PATCH] connector-exports 2006-06-23 07:43:06 -07:00
zorro
Kconfig
Makefile [PATCH] Time: i386 Clocksource Drivers 2006-06-26 09:58:21 -07:00