Skip to content

Remove 'irq' argument from all irq handlers

Jeff Garzik lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 38 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9irq-remove: coreinclude/asm-generic/irq_regs.h include/linux/interrupt.h kernel/irq/handle.c +3 more+39 -79 replies
2/9irq-remove: arch non-trivialarch/x86/kernel/vm86_32.c include/asm-x86/irq_regs_32.h+27 -16 replies
3/9irq-remove: arch trivialarch/frv/kernel/dma.c arch/frv/kernel/irq-mb93091.c arch/frv/kernel/irq-mb93093.c +33 more+59 -600 replies
4/9irq-remove: driver non-trivialdrivers/atm/ambassador.c drivers/bluetooth/btuart_cs.c drivers/bluetooth/dtl1_cs.c +51 more+190 -1812 replies
5/9irq-remove: net driver trivialdrivers/net/3c501.c drivers/net/3c501.h drivers/net/3c505.c +221 more+444 -4510 replies
6/9irq-remove: sound driver trivialsound/aoa/core/snd-aoa-gpio-feature.c sound/aoa/soundbus/i2sbus/i2sbus-core.c sound/aoa/soundbus/i2sbus/i2sbus-pcm.c +97 more+148 -1520 replies
7/9irq-remove: scsi driver trivialdrivers/scsi/3w-9xxx.c drivers/scsi/3w-xxxx.c drivers/scsi/53c700.c +81 more+137 -14611 replies
8/9irq-remove: driver trivialdrivers/acpi/osl.c drivers/ata/ahci.c drivers/ata/libata-core.c +310 more+447 -4600 replies
9/9irq-remove: misc fixes and cleanupsarch/x86/kernel/time_64.c drivers/atm/horizon.c drivers/input/touchscreen/ucb1400_ts.c +7 more+20 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Remove 'irq' argument from all irq handlers

WARNING NOT FOR MERGE WARNING NOT FOR MERGE WARNING NOT FOR MERGE

This posting is just to demonstrate something that I have been keeping alive in the background. I have no urge to push it upstream anytime soon.

The overwhelming majority of drivers do not ever bother with the 'irq' argument that is passed to each driver's irq handler.

Of the minority of drivers that do use the arg, the majority of those have the irq number stored in their private-info structure somewhere.

There are a tiny few -- a couple Mac drivers -- which do weird things with that argument, but that's it.

For the large sweeps through the tree, these patches are grouped into "trivial" changes -- simply removing the unused irq arg -- or all other changes.

[IRQ ARG REMOVAL] core interrupt delivery infrastructure updates [IRQ ARG REMOVAL] various non-trivial arch updates [IRQ ARG REMOVAL] trivial arch updates
[IRQ ARG REMOVAL] non-trivial driver updates
[IRQ ARG REMOVAL] trivial net driver updates
[IRQ ARG REMOVAL] trivial sound driver updates
[IRQ ARG REMOVAL] trivial scsi driver updates
[IRQ ARG REMOVAL] trivial driver updates
[IRQ ARG REMOVAL] x86-64 build fixes, cleanups

WARNING NOT FOR MERGE WARNING NOT FOR MERGE WARNING NOT FOR MERGE