linux/arch/arm/mach-shmobile
Magnus Damm b759bd114e ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix
Fix SMP TWD boot regression on r8a7779 based platforms caused by:

4200b16 ARM: shmobile: convert to twd_local_timer_register() interface

After the merge of the above commit it has been impossible to boot
r8a7779 based SoCs with SMP enabled and CONFIG_HAVE_ARM_TWD=y. The
kernel crashes at smp_init_cpus() timing which is before the console
has been initialized, so to the user this looks like a kernel lock up
without any particular error message.

This patch fixes the regression on r8a7779 by moving the TWD
registration code from smp_init_cpus() to sys_timer->init() time.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2012-05-12 22:13:38 +02:00
..
include/mach ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
board-ag5evm.c ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper 2012-05-12 22:13:01 +02:00
board-ap4evb.c ARM: More SoC support updates 2012-03-28 12:24:40 -07:00
board-bonito.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
board-g3evm.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
board-g4evm.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
board-kota2.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
board-mackerel.c ARM: mach-shmobile: convert mackerel to use the generic MMC GPIO hotplug helper 2012-05-12 22:12:36 +02:00
board-marzen.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
clock-r8a7740.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-r8a7779.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh73a0.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh7367.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh7372.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
clock-sh7377.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
console.c ARM: mach-shmobile: early console support using earlyprintk 2010-02-09 10:34:12 +09:00
cpuidle.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux 2012-03-30 16:45:39 -07:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp.S ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT 2012-01-09 10:36:48 +09:00
hotplug.c ARM: mach-shmobile: Flush caches in platform_cpu_die() 2012-01-09 10:37:29 +09:00
intc-r8a7740.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-r8a7779.c ARM: __io abuse cleanup 2012-03-13 21:25:21 -05:00
intc-sh73a0.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
intc-sh7367.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-sh7372.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-sh7377.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
Kconfig sh: intc: unify evt2irq/irq2evt macros for sh and arm 2012-01-25 20:37:47 -06:00
Makefile ARM: shmobile: convert to twd_local_timer_register() interface 2012-03-13 13:30:31 +00:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pfc-r8a7740.c ARM: mach-shmobile: r8a7740: add PFC support. 2011-11-11 16:55:33 +09:00
pfc-r8a7779.c ARM: mach-shmobile: r8a7779 PFC IPSR4 fix 2012-02-24 13:24:59 +09: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: add GPIO-to-IRQ translation to sh7372 2012-01-24 10:40:25 +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 ARM: shmobile: convert to twd_local_timer_register() interface 2012-03-13 13:30:31 +00:00
pm-r8a7779.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
pm-sh7372.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
setup-r8a7740.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
setup-sh73a0.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7367.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7372.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7377.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
sleep-sh7372.S PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode 2011-12-25 23:39:03 +01:00
smp-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
smp-sh73a0.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
suspend.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
timer.c Merge branch 'renesas/timer' into next/timer 2012-03-20 09:41:43 +00:00