1
linux/arch/arm
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
..
boot [ARM] Make kernel link address depend on PAGE_OFFSET 2006-01-03 17:28:33 +00:00
common [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
configs [ARM] 3221/1: Update IXP4xx defconfig 2006-01-04 17:17:14 +00:00
kernel [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
lib [ARM] Fix get_user when passed a const pointer 2005-11-18 14:22:03 +00:00
mach-aaec2000 [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
mach-clps711x [ARM] Remove unused dma.c files 2006-01-04 14:06:31 +00:00
mach-clps7500 [ARM] Shut up gcc warning in clps7500 core.c 2005-11-21 17:03:15 +00:00
mach-ebsa110 [ARM] Convert EBSA110 network driver to a platform driver 2005-10-31 17:14:57 +00:00
mach-epxa10db [ARM] Remove unused dma.c files 2006-01-04 14:06:31 +00:00
mach-footbridge [PATCH] ARM: Netwinder ds1620 driver needs an export to be built as module 2006-01-08 20:13:39 -08:00
mach-h720x Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-imx [ARM] 3231/1: mx1ads board support cleanup 2006-01-05 20:44:58 +00:00
mach-integrator [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
mach-iop3xx [ARM] 3217/1: iop331 uarts as platform devices 2006-01-05 20:53:02 +00:00
mach-ixp4xx [ARM] 3226/1: IXP4xx runtime expansion bus window size configuration 2006-01-05 20:59:29 +00:00
mach-ixp2000 [ARM] 3121/1: unconditionally use XCB=101 on ixp2000 2005-11-07 21:12:09 +00:00
mach-l7200 [ARM] 2980/1: Fix L7200 core.c compile 2005-10-14 12:49:15 +01:00
mach-lh7a40x Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-omap1 [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
mach-omap2 [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
mach-pxa [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
mach-realview [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
mach-rpc [ARM] Remove '__address' from scatterlist and convert to DMA API 2006-01-04 15:08:30 +00:00
mach-s3c2410 [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
mach-sa1100 [ARM] Remove SA1100 PM prepare/finish ops 2006-01-04 15:55:41 +00:00
mach-shark [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark 2005-10-28 15:19:03 +01:00
mach-versatile [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
mm [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
nwfpe [ARM] 3118/1: fix and reenable nwfpe extended precision emulation for big-endian 2005-11-07 21:12:08 +00:00
oprofile [PATCH] mm: kill check_user_page_readable 2005-10-29 21:40:41 -07:00
plat-omap [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
tools [ARM] Update mach-types 2005-11-25 15:59:01 +00:00
vfp kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
Kconfig [ARM] 3229/1: Remove uneeded ARM apm dependency on PM_LEGACY 2006-01-05 20:44:55 +00:00
Kconfig.debug [ARM] Fix typo in arch/arm/Kconfig.debug 2005-09-09 15:57:17 +01:00
Makefile [ARM] Make kernel link address depend on PAGE_OFFSET 2006-01-03 17:28:33 +00:00