linux/arch/arm/mach-shmobile
Magnus Damm eded914315 ARM: mach-shmobile: AG5EVM GIC Sparse IRQ fix
Fix IRQ support on the AG5EVM board. The sh73a0 and the AG5EVM
board make use of the ARM GIC hardware block as main interrupt
controller. The following commit changed the default behaviour
for non-device tree platforms and broke AG5EVM irq support:

f37a53c ARM: gic: fix irq_alloc_descs handling for sparse irq

Without this fix the following warning triggers at boot:

NR_IRQS:1024 nr_irqs:1024 1024
------------[ cut here ]------------
WARNING: at arch/arm/common/gic.c:607 gic_init+0x90/0x2e4()
Cannot allocate irq_descs @ IRQ16, assuming pre-allocated
[<c000c868>] (unwind_backtrace+0x0/0xe0) from [<c001857c>] (warn_slowpath_commo)
[<c001857c>] (warn_slowpath_common+0x48/0x60) from [<c00185d8>] (warn_slowpath_)
[<c00185d8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c029ee08>] (gic_init+0x90/0x2)
[<c029ee08>] (gic_init+0x90/0x2e4) from [<c029f278>] (sh73a0_init_irq+0x30/0x18)
[<c029f278>] (sh73a0_init_irq+0x30/0x184) from [<c029c0b4>] (init_IRQ+0x14/0x1c)
[<c029c0b4>] (init_IRQ+0x14/0x1c) from [<c029a5cc>] (start_kernel+0x15c/0x2b8)
[<c029a5cc>] (start_kernel+0x15c/0x2b8) from [<4000803c>] (0x4000803c)
---[ end trace 1b75b31a2719ed1c ]---

With this fix applied interrupts work as expected.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2011-11-24 17:30:28 +09:00
..
include/mach ARM: mach-shmobile: cpuidle single/global and last_state fixes 2011-11-11 16:49:28 +09:00
board-ag5evm.c ARM: mach-shmobile: AG5EVM GIC Sparse IRQ fix 2011-11-24 17:30:28 +09:00
board-ap4evb.c ARM: mach-shmobile: ap4evb: remove white space from end of line 2011-11-11 16:45:28 +09:00
board-g3evm.c ARM: mach-shmobile: Setup consistent dma size at boot time 2011-08-22 12:00:12 +00:00
board-g4evm.c ARM: mach-shmobile: Setup consistent dma size at boot time 2011-08-22 12:00:12 +00:00
board-kota2.c ARM: mach-shmobile: kota2: add comment out separator 2011-11-11 16:45:23 +09:00
board-mackerel.c Merge branch 'rmobile-latest' of git://github.com/pmundt/linux-sh 2011-11-06 17:28:13 -08:00
clock-sh73a0.c ARM: mach-shmobile: clock-sh73a0: tidyup CKSCR main clock selecter 2011-08-29 16:22:39 +09:00
clock-sh7367.c sh: move CLKDEV_xxx_ID macro to sh_clk.h 2011-07-11 15:07:25 +09:00
clock-sh7372.c ARM: mach-shmobile: clock-sh7372: remove un-necessary index 2011-11-11 16:45:25 +09:00
clock-sh7377.c sh: move CLKDEV_xxx_ID macro to sh_clk.h 2011-07-11 15:07:25 +09:00
clock.c arm: Add export.h to ARM specific files as required. 2011-10-31 19:30:50 -04:00
console.c
cpuidle.c ARM: mach-shmobile: cpuidle single/global and last_state fixes 2011-11-11 16:49:28 +09:00
entry-gic.S ARM: mach-shmobile: update for GIC changes. 2011-01-07 12:02:11 +09:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp.S ARM: mach-shmobile: headsmp.S build fix 2011-05-24 12:29:14 +09:00
hotplug.c
intc-sh73a0.c ARM: mach-shmobile: sh73a0 and AG5EVM PINT support 2011-11-05 01:03:55 +09:00
intc-sh7367.c ARM: mach-shmobile: Use common INTC IRQ code on sh7367 2011-11-05 01:01:50 +09:00
intc-sh7372.c ARM: mach-shmobile: Use common INTC IRQ code on sh7372 2011-11-05 01:02:51 +09:00
intc-sh7377.c ARM: mach-shmobile: Use common INTC IRQ code on sh7377 2011-11-05 01:01:50 +09:00
Kconfig ARM: mach-shmobile: ag5evm needs CONFIG_I2C 2011-11-05 01:21:47 +09:00
localtimer.c ARM: 6759/1: smp: Select local timers vs broadcast timer support runtime 2011-02-23 17:54:27 +00:00
Makefile drivers: sh: Generalize runtime PM platform stub. 2011-11-11 15:41:50 +09:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pfc-sh73a0.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7367.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7372.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7377.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
platsmp.c Merge branch 'rmobile/kota2' into rmobile-latest 2011-11-04 23:17:38 +09:00
pm-sh7372.c ARM: mach-shmobile: cpuidle single/global and last_state fixes 2011-11-11 16:49:28 +09:00
setup-sh73a0.c ARM: mach-shmobile: sh73a0 DMA Engine support for SY-DMAC 2011-05-25 11:36:51 +09:00
setup-sh7367.c ARM: mach-shmobile: Correct SCIF port types for SH7367. 2011-06-14 15:12:09 +09:00
setup-sh7372.c ARM: mach-shmobile: sh7372 A4R support (v4) 2011-10-22 00:20:12 +02:00
setup-sh7377.c ARM: mach-shmobile: sh7377 UIO platform data V3 2011-05-24 12:19:30 +09:00
sleep-sh7372.S ARM: mach-shmobile: sh7372 sleep warning fixes 2011-09-25 23:21:02 +02:00
smp-sh73a0.c ARM: shmobile: convert logical CPU numbers to physical numbers 2011-10-17 10:01:11 +01:00
suspend.c ARM: mach-shmobile: Suspend-to-RAM support 2011-05-25 11:19:17 +09:00
timer.c