android_kernel_oneplus_msm8998/arch/arm/mach-shmobile
Magnus Damm 974b072f71 ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds
As of commit 9a1091ef00 ("irqchip: gic: Support hierarchy irq
domain."), the APE6EVM legacy board support is known to be broken.

The IRQ numbers of the GIC are now virtual, and no longer match the
hardcoded hardware IRQ numbers in the legacy platform board code.

To fix this issue specific to non-muliplatform r8a73a4 and APE6EVM:
 1) Instantiate the GIC from platform board code and also
 2) Skip over the DT arch timer as well as
 3) Force delay setup based on DT CPU frequency

With these 3 fixes in place interrupts on APE6EVM are now unbroken.

Partially based on legacy GIC fix by Geert Uytterhoeven, thanks to
him for the initial work.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-01-29 09:34:51 +09:00
..
include/mach Second Round of Renesas ARM Based SoC Updates for v3.17 2014-07-12 09:44:52 -07:00
board-ape6evm-reference.c cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
board-ape6evm.c ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds 2015-01-29 09:34:51 +09:00
board-armadillo800eva.c ARM: shmobile: armadillo800eva legacy: Use rmobile_add_devices_to_domains() 2014-09-09 11:16:08 +09:00
board-bockw-reference.c ARM: shmobile: bockw: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-bockw.c ARM: shmobile: bockw: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-koelsch-reference.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-koelsch.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-kzm9g-reference.c ARM: shmobile: kzm9g: Use shmobile_init_delay() 2014-08-22 11:32:13 +09:00
board-kzm9g.c Second Round Of Renesas ARM Based SoC Updates For v3.18 2014-09-05 17:29:29 +02:00
board-lager-reference.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-lager.c Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2014-10-14 09:39:08 +02:00
board-mackerel.c ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
board-marzen-reference.c Renesas ARM Based SoC DT Timers Updates for v3.18 2014-09-05 17:40:32 +02:00
board-marzen.c drm/rcar-du: Use struct videomode in platform data 2014-09-15 11:55:47 +03:00
clock-r8a73a4.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7740.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7778.c ARM: SoC device-tree changes for 3.17 2014-08-08 11:16:58 -07:00
clock-r8a7779.c ARM: shmobile: Move r8a7779.h 2014-06-25 16:52:39 +09:00
clock-r8a7790.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-r8a7791.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-sh73a0.c Renesas ARM Based SoC Clock Fixes For v3.17 2014-08-27 15:14:05 -07:00
clock-sh7372.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
clock.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
clock.h ARM: shmobile: Move clock.h 2014-06-17 17:09:37 +09:00
common.h ARM: shmobile: Separate APMU resource data into CPU dependant part 2014-11-04 09:31:23 +09:00
console.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
cpufreq.c cpufreq: cpu0: rename driver and internals to 'cpufreq_dt' 2014-10-03 15:37:54 +02:00
cpuidle.c
dma-register.h ARM: shmobile: dma: Use defines instead of hardcoded numbers 2014-08-20 09:09:23 +09:00
entry-intc.S
headsmp-scu.S
headsmp.S ARM: SoC platform changes for 3.17 2014-08-08 11:14:29 -07:00
intc-sh73a0.c ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
intc-sh7372.c ARM: shmobile: Move most of irqs.h, keep some for pinctl 2014-06-17 17:09:38 +09:00
intc.h ARM: shmobile: Move legacy INTC definitions from irqs.h to intc.h 2014-08-22 12:23:32 +09:00
irqs.h ARM: shmobile: Move legacy INTC definitions from irqs.h to intc.h 2014-08-22 12:23:32 +09:00
Kconfig ARM: shmobile: Enable PCI domains for R-Car Gen2 devices 2014-11-05 14:50:17 +09:00
Makefile ARM: shmobile: always build rcar setup for armv7 2014-11-12 18:14:42 +09:00
Makefile.boot Renesas ARM Based SoC r8a7740 Multiplatform Updates for v3.18 2014-09-09 17:07:30 +02:00
platsmp-apmu.c ARM: shmobile: Separate APMU resource data into CPU dependant part 2014-11-04 09:31:23 +09:00
platsmp-apmu.h ARM: shmobile: Separate APMU resource data into CPU dependant part 2014-11-04 09:31:23 +09:00
platsmp-scu.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
platsmp.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
pm-r8a7740.c ARM: SoC platform changes for 3.18 2014-10-08 17:13:04 -04:00
pm-r8a7779.c ARM: shmobile: Drop dev_irq_safe from r8a7779 genpd config 2014-09-09 00:46:11 +02:00
pm-r8a7790.c Second Round of Renesas ARM Based SoC Updates for v3.17 2014-07-12 09:44:52 -07:00
pm-r8a7791.c ARM: shmobile: Allow r8a7791 to build non-SMP APMU code 2014-06-26 16:01:34 +09:00
pm-rcar.c ARM: shmobile: Cleanup pm-rcar.o build using Kconfig 2014-09-02 09:32:05 +09:00
pm-rcar.h ARM: shmobile: Move pm-rcar.h, cleanup r8a7779 case 2014-06-17 17:09:40 +09:00
pm-rmobile.c ACPI and power management updates for 3.18-rc1 2014-10-09 16:07:43 -04:00
pm-rmobile.h ARM: shmobile: Cleanup pm-rmobile.o build using Kconfig 2014-09-02 09:32:06 +09:00
pm-sh73a0.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
pm-sh7372.c ARM: shmobile: Move sh7372.h 2014-06-25 16:50:00 +09:00
r8a73a4.h ARM: shmobile: r8a73a4: Use shmobile_init_delay() 2014-08-22 11:31:56 +09:00
r8a7740.h ARM: shmobile: r8a7740: Multiplatform support 2014-09-02 10:04:08 +09:00
r8a7778.h ARM: shmobile: Move r8a7778.h 2014-06-25 16:48:02 +09:00
r8a7779.h ARM: shmobile: marzen-reference: Enable TMU0 in device tree 2014-08-17 09:00:56 +09:00
r8a7790.h ARM: shmobile: lager-reference: Enable CMT0 in device tree 2014-08-17 09:00:55 +09:00
r8a7791.h ARM: shmobile: koelsch-reference: Enable CMT0 in device tree 2014-08-17 09:00:56 +09:00
rcar-gen2.h ARM: shmobile: Add shared R-Car Gen2 CMA reservation code 2014-06-17 19:33:22 +09:00
setup-emev2.c ARM: shmobile: Get rid of redundant EMEV2 mach callbacks 2014-06-17 19:50:05 +09:00
setup-r7s72100.c Renesas ARM Based SoC Cleanup Updates for v3.18 2014-09-05 17:42:18 +02:00
setup-r8a73a4.c ARM: shmobile: r8a73a4: Use shmobile_init_delay() 2014-08-22 11:31:56 +09:00
setup-r8a7740.c ARM: shmobile: r8a7740: Instantiate GIC from C board code in legacy builds 2014-12-19 09:13:08 +09:00
setup-r8a7778.c ARM: shmobile: r8a7778: Instantiate GIC from C board code in legacy builds 2015-01-17 09:28:14 +09:00
setup-r8a7779.c ARM: shmobile: r8a7779: Instantiate GIC from C board code in legacy builds 2015-01-17 09:28:41 +09:00
setup-r8a7790.c ARM: shmobile: lager-reference: Enable CMT0 in device tree 2014-08-17 09:00:55 +09:00
setup-r8a7791.c ARM: shmobile: koelsch-reference: Enable CMT0 in device tree 2014-08-17 09:00:56 +09:00
setup-r8a7794.c ARM: shmobile: r8a7794: Reserve memory as other R-Car Gen2 SoCs 2014-09-16 15:01:58 +09:00
setup-rcar-gen2.c ARM: shmobile: rcar-gen2: Add CA7 arch_timer initialization for r8a7794 2014-10-27 09:17:05 +09:00
setup-sh73a0.c ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances 2015-01-08 09:15:16 +09:00
setup-sh7372.c ARM: shmobile: Add early debugging support using SCIF(A) 2014-11-17 10:29:58 +09:00
sh-gpio.h
sh73a0.h ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
sh7372.h ARM: shmobile: Move sh7372.h 2014-06-25 16:50:00 +09:00
sleep-sh7372.S
smp-emev2.c ARM: shmobile: Move common.h 2014-06-17 17:09:39 +09:00
smp-r8a7779.c ARM: shmobile: Move r8a7779.h 2014-06-25 16:52:39 +09:00
smp-r8a7790.c ARM: shmobile: Separate APMU resource data into CPU dependant part 2014-11-04 09:31:23 +09:00
smp-r8a7791.c ARM: shmobile: r8a7791: Correct number of CPU cores 2014-11-04 09:31:27 +09:00
smp-sh73a0.c ARM: shmobile: Move sh73a0.h 2014-06-25 16:49:37 +09:00
suspend.c
timer.c ARM: shmobile: r8a73a4: Instantiate GIC from C board code in legacy builds 2015-01-29 09:34:51 +09:00