2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 23:23:52 +08:00
linux-next/arch/arm/plat-omap
Tony Lindgren 52414739ca ARM: OMAP: Fix get_irqnr_and_base to clear spurious interrupt bits
On omap24xx, INTCPS_SIR_IRQ_OFFSET bits [6:0] contains the current
active interrupt number.

However, on 34xx INTCPS_SIR_IRQ_OFFSET bits [31:7] also contains the
SPURIOUSIRQFLAG, which gets set if the interrupt sorting information
is invalid.

If the SPURIOUSIRQFLAG bits are not ignored, the interrupt code will
occasionally produce a bunch of confusing errors:

irq -33, desc: c02ddcc8, depth: 0, count: 0, unhandled: 0
->handle_irq():  c006f23c, handle_bad_irq+0x0/0x22c
->chip(): 00000000, 0x0
->action(): 00000000

Fix this by masking out only the ACTIVEIRQ bits. Also fix a
confusing comment.

Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-11-04 13:35:07 -08:00
..
include/mach ARM: OMAP: Fix get_irqnr_and_base to clear spurious interrupt bits 2008-11-04 13:35:07 -08:00
clock.c ARM: OMAP: Fix debugfs_create_*'s error checking method for arm/plat-omap 2008-11-04 13:35:07 -08:00
common.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
cpu-omap.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
debug-devices.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
debug-leds.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
devices.c Merge branch 'fixes' into for-linus 2008-10-15 23:16:07 +01:00
dma.c [ARM] omap: fix lots of 'Using plain integer as NULL pointer' 2008-09-05 17:02:33 +01:00
dmtimer.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
fb.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
gpio.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
i2c.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
io.c ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
Kconfig ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
mailbox.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
mailbox.h ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile [ARM] omap: allow ioremap() to use our fixed IO mappings 2008-09-05 17:02:29 +01:00
mcbsp.c ARM: OMAP: Fixes to omap_mcbsp_request function 2008-10-08 10:01:41 +03:00
mux.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
ocpi.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
sram.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
usb.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00