android_kernel_xiaomi_sm8350/arch/arm/mach-s3c2410
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
..
bast-irq.c [ARM] 2884/1: BAST - fix PC104 IRQ routing 2005-09-07 17:24:48 +01:00
bast.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clock.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
clock.h [ARM] Remove clk_use()/clk_unuse() 2006-01-03 18:41:37 +00:00
cpu.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
cpu.h [ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410 2005-10-28 15:19:02 +01:00
devs.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
devs.h Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
dma.c [PATCH] ARM: 2825/1: S3C2410: turns %d into %ld on DMA printk 2005-07-24 00:15:46 +01:00
gpio.c [ARM] 3033/1: S3C2410 - add generic gpio_cfgpin options 2005-10-28 15:26:41 +01:00
irq.c [ARM] Wrap calls to descriptor handlers 2005-09-04 19:45:00 +01:00
irq.h [PATCH] ARM: 2829/1: S3C2410 - split s3c2440 irq specifics from core irq.c 2005-07-26 19:20:27 +01:00
Kconfig [ARM] 3132/1: S3C2410 - reset on decompression error 2005-11-08 22:43:05 +00:00
mach-anubis.c [ARM] 3136/1: Anubis - fix map_desc initialisers 2005-11-09 14:05:30 +00:00
mach-bast.c [ARM] 3161/1: BAST - fix commas on end of structs 2005-11-16 15:05:12 +00:00
mach-h1940.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-n30.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-nexcoder.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-otom.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-rx3715.c [ARM] 3137/1: RX3715 - fix map_desc initialiser 2005-11-09 14:05:31 +00:00
mach-smdk2410.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mach-smdk2440.c [ARM] 3138/1: SMDK2440 - fix map_desc initialisation (and ISA memory space) 2005-11-09 14:05:31 +00:00
mach-vr1000.c [ARM] 3125/2: VR1000: Fix map_decs initialiser 2005-11-08 19:15:30 +00:00
Makefile [ARM] 2884/1: BAST - fix PC104 IRQ routing 2005-09-07 17:24:48 +01:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm-simtec.c [ARM] 2889/1: S3C2410 - Add machine Anubis 2005-09-07 11:49:23 +01:00
pm.c [ARM] 2874/1: S3C2410 - add cpu_init() call after sleep wakeup 2005-09-03 19:39:26 +01:00
pm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s3c2410.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
s3c2410.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s3c2440-clock.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
s3c2440-dsc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s3c2440-irq.c [ARM] Wrap calls to descriptor handlers 2005-09-04 19:45:00 +01:00
s3c2440.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
s3c2440.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sleep.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
usb-simtec.c [PATCH] IRQ type flags 2006-01-08 20:13:46 -08:00
usb-simtec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00