WSL2-Linux-Kernel/include
Russell King 9ded96f24c [PATCH] IRQ type flags
Some ARM platforms have the ability to program the interrupt controller to
detect various interrupt edges and/or levels.  For some platforms, this is
critical to setup correctly, particularly those which the setting is dependent
on the device.

Currently, ARM drivers do (eg) the following:

	err = request_irq(irq, ...);

	set_irq_type(irq, IRQT_RISING);

However, if the interrupt has previously been programmed to be level sensitive
(for whatever reason) then this will cause an interrupt storm.

Hence, if we combine set_irq_type() with request_irq(), we can then safely set
the type prior to unmasking the interrupt.  The unfortunate problem is that in
order to support this, these flags need to be visible outside of the ARM
architecture - drivers such as smc91x need these flags and they're
cross-architecture.

Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the
property that the device would like.  The IRQ controller code should do its
best to select the most appropriate supported mode.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:46 -08:00
..
acpi [ACPI] increase owner_id limit to 64 from 32 2005-12-21 04:52:16 -05:00
asm-alpha [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-arm [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
asm-arm26 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-cris [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-frv [PATCH] frv: miscellaneous changes 2006-01-08 20:13:38 -08:00
asm-generic [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-h8300 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-i386 [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
asm-ia64 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-m32r [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-m68k [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-m68knommu [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-mips [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
asm-parisc [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-powerpc [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
asm-ppc [PATCH] ppc32: Allows compilation of a MPC52xx kernel without PCI 2006-01-06 08:33:31 -08:00
asm-s390 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-sh [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-sh64 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-sparc [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-sparc64 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-um [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-v850 [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
asm-x86_64 [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
asm-xtensa [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 2006-01-06 08:33:29 -08:00
keys [PATCH] Keys: Remove key duplication 2006-01-06 08:33:29 -08:00
linux [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
math-emu
media Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2006-01-06 15:25:08 -08:00
mtd [MTD] user-abi: Clean up trailing white spaces 2005-11-07 14:43:11 +01:00
net [IPV4]: make ip_fragment() static 2006-01-07 13:23:39 -08:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
rdma [IB] uverbs: have kernel return QP capabilities 2005-11-10 10:22:50 -08:00
rxrpc [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
scsi Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block 2006-01-06 09:01:25 -08:00
sound [ALSA] Revert the nested-device patch 2006-01-04 10:13:48 +01:00
video [PATCH] drivers/video: Replace custom macro with isdigit() 2005-09-13 08:22:33 -07:00