android_kernel_xiaomi_sm8350/arch/arm/plat-omap
Imre Deak ea6dedd7fb ARM: OMAP: GPIO IRQ lazy IRQ disable fix
- The current OMAP GPIO IRQ framework doesn't use the do_edge_IRQ,
  do_level_IRQ handlers, but instead calls do_simple_IRQ. This
  doesn't handle disabled interrupts properly, so drivers will
  still get interrupts after calling disable_irq. The patch solves
  this by respecting the irq_desc.disable_depth and irq_desc.running
  counters.  When one of these is non-zero the handler is not called,
  the interrupt is masked and marked as pending. The pending interrupt
  will be serviced when the running handler returns. This is according
  to the same semantics as the standard do_edge_IRQ and do_level_IRQ
  handlers have, so one day we should use them instead of do_simple_IRQ.

- Process only interrupts that are not masked. The ISR may contain
  pending interrupts that are masked these shouldn't be processed.

- Move the bank IRQ unmasking out of the IRQ dispatch loop. If there
  are further iterations we shouldn't unmask it if there are level
  triggered interrupts pending.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2006-06-26 16:16:00 -07:00
..
clock.c [ARM] 3461/1: ARM: OMAP: Fix clk_get() when using id and name 2006-04-09 22:21:05 +01:00
common.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
cpu-omap.c [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
devices.c [ARM] 3460/1: ARM: OMAP: Remove unnecessary nop_release() 2006-04-09 22:21:02 +01:00
dma.c [ARM] 3454/1: ARM: OMAP: 6/8 Update framebuffer low-level init code, take 2 2006-04-02 17:46:26 +01:00
dmtimer.c [ARM] 3427/1: ARM: OMAP: 2/8 Update timers 2006-04-02 17:46:21 +01:00
fb.c [ARM] 3454/1: ARM: OMAP: 6/8 Update framebuffer low-level init code, take 2 2006-04-02 17:46:26 +01:00
gpio.c ARM: OMAP: GPIO IRQ lazy IRQ disable fix 2006-06-26 16:16:00 -07:00
Kconfig [ARM] 3427/1: ARM: OMAP: 2/8 Update timers 2006-04-02 17:46:21 +01:00
Makefile [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mcbsp.c [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mux.c [ARM] 3142/1: OMAP 2/5: Update files common to omap1 and omap2 2005-11-10 14:26:50 +00:00
ocpi.c [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
pm.c [ARM] 3430/1: ARM: OMAP: 5/8 Update PM 2006-04-02 17:46:25 +01:00
sram-fn.S [ARM] Include asm/hardware.h instead of asm/arch/hardware.h 2005-11-16 14:51:20 +00:00
sram.c [ARM] 3430/1: ARM: OMAP: 5/8 Update PM 2006-04-02 17:46:25 +01:00
timer32k.c [ARM] 3616/1: fix timer handler wrap logic for a number of platforms 2006-06-22 10:30:53 +01:00
usb.c [ARM] 3142/1: OMAP 2/5: Update files common to omap1 and omap2 2005-11-10 14:26:50 +00:00