kernel-ark/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
cpu-omap.c
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
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
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
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
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