linux_dsm_epyc7002/arch/arm/mach-shmobile
Magnus Damm f469cde20a ARM: shmobile: r8a7779: Instantiate GIC from C board code in legacy builds
As of commit 9a1091ef00 ("irqchip: gic: Support hierarchy irq
domain."), Marzen legacy hangs during boot with:

   Image Name:   'Linux-3.19.0-rc4'
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3445880 Bytes = 3.3 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Enabling DEBUG_LL does not seem to change the situation, however this
patch by itself fixes this issue and re-enables normal boot.

This issue happens because the IRQ numbers of the GIC are now virtual,
and no longer match the hardcoded hardware IRQ numbers in the platform
board code.

To fix this, instantiate the GIC from platform board code when compiling
a legacy kernel, like is done for the sh73a0, r8a7740 and r8a7778 legacy code.

Follows same style as the r8a7740 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-17 09:28:41 +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: ape6evm: Use shmobile_init_delay() 2014-08-20 09:06:35 +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 ARM: shmobile: cpuidle: use init/exit common routine 2013-04-23 13:45:22 +02:00
dma-register.h ARM: shmobile: dma: Use defines instead of hardcoded numbers 2014-08-20 09:09:23 +09:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp-scu.S Merge tag 'renesas-soc2-for-v3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc 2013-08-14 11:09:47 -07:00
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
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
sh-gpio.h ARM: shmobile: mackerel: Use pinconf API to configure pin pull-down 2013-12-10 17:24:49 +09:00
sleep-sh7372.S ARM: shmobile: Insert align directives before 4 bytes data 2013-07-18 08:35:21 +09:00
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 arm: Use generic idle loop 2013-04-08 17:39:24 +02:00
timer.c ARM: shmobile: Handle CA7 arch timer delay 2014-10-24 10:53:30 +09:00