linux/arch/sh/kernel/cpu/sh4a
Peter Zijlstra 004417a6d4 perf, arch: Cleanup perf-pmu init vs lockup-detector
The perf hardware pmu got initialized at various points in the boot,
some before early_initcall() some after (notably arch_initcall).

The problem is that the NMI lockup detector is ran from early_initcall()
and expects the hardware pmu to be present.

Sanitize this by moving all architecture hardware pmu implementations to
initialize at early_initcall() and move the lockup detector to an explicit
initcall right after that.

Cc: paulus <paulus@samba.org>
Cc: davem <davem@davemloft.net>
Cc: Michael Cree <mcree@orcon.net.nz>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290707759.2145.119.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-11-26 15:14:56 +01:00
..
clock-sh7343.c sh: switch sh7343 to clkdev 2010-05-13 17:36:27 +09:00
clock-sh7366.c sh: switch sh7366 to clkdev 2010-05-13 17:36:34 +09:00
clock-sh7722.c sh: switch sh7722 to clkdev 2010-05-13 17:36:21 +09:00
clock-sh7723.c sh: switch sh7723 to clkdev 2010-05-13 17:36:13 +09:00
clock-sh7724.c sh: make some needlessly global sh7724 clocks static 2010-11-08 09:35:28 +09:00
clock-sh7757.c sh: modify clock framework of SH7757 2010-07-06 17:38:30 +09:00
clock-sh7763.c sh: switch sh7763 to clkdev 2010-05-13 17:37:39 +09:00
clock-sh7770.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-sh7780.c sh: switch sh7780 to clkdev 2010-05-13 17:36:56 +09:00
clock-sh7785.c sh: switch sh7785 to clkdev 2010-05-13 17:36:40 +09:00
clock-sh7786.c sh: remove duplicated #include 2010-05-22 16:38:26 +09:00
clock-shx3.c sh: Update SH-X3 subtype for clkdev lookups. 2010-10-01 23:49:56 +09:00
hwblk-sh7722.c sh: Add support for multiple hwblk counters 2009-07-20 04:23:39 +09:00
hwblk-sh7723.c sh: hwblk support for sh7723 2009-07-20 04:23:44 +09:00
hwblk-sh7724.c sh: hwblk support for sh7724 2009-08-04 14:40:55 +09:00
intc-shx3.c sh: Support userimask for all SH-X3 interrupt controllers. 2010-10-02 00:43:43 +09:00
Makefile sh: pinmux support for SH-X3 proto CPUs. 2010-10-02 19:20:51 +09:00
perf_event.c perf, arch: Cleanup perf-pmu init vs lockup-detector 2010-11-26 15:14:56 +01:00
pinmux-sh7722.c sh: add high impedance mode management for SIUA pins on sh7722 2010-02-02 13:02:30 +09:00
pinmux-sh7723.c sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
pinmux-sh7724.c sh: Add support for SH7724 (SH-Mobile R2R) CPU subtype. 2009-04-16 14:40:56 +09:00
pinmux-sh7757.c sh: modify pinmux for SH7757 2nd cut 2010-07-06 17:38:29 +09:00
pinmux-sh7785.c sh: sh7785 pinmux support 2008-10-23 11:59:37 +09:00
pinmux-sh7786.c sh: Tidy up sh7786 pinmux table. 2009-03-31 07:39:51 +09:00
pinmux-shx3.c sh: Drop __initdata for SH-X3 pinmux tables. 2010-10-04 05:00:19 +09:00
setup-sh7343.c sh: sh7343 clock string death. 2010-03-29 17:35:04 +09:00
setup-sh7366.c sh: sh7366 clock string death. 2010-03-29 17:36:41 +09:00
setup-sh7722.c sh: fix an SIU device name mismatch 2010-09-19 16:04:31 +01:00
setup-sh7723.c sh: sh7723 clkdev lookups. 2010-03-29 17:45:12 +09:00
setup-sh7724.c sh: Add sh7724 BEU resources 2010-08-04 15:58:18 +09:00
setup-sh7757.c sh: add some INTC_VECT for setup-sh7757 2010-07-06 17:38:27 +09:00
setup-sh7763.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7770.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7780.c sh: define DMA slaves per CPU type, remove now redundant header 2010-05-22 16:51:17 +09:00
setup-sh7785.c sh: define DMA slaves per CPU type, remove now redundant header 2010-05-22 16:51:17 +09:00
setup-sh7786.c sh: Wire up INTC subgroup splitting for SH7786 SCIF1. 2010-10-05 23:26:42 +09:00
setup-shx3.c sh: Support early IRQ vector map reservation for delayed controllers. 2010-10-02 22:02:07 +09:00
smp-shx3.c sh: CPU hotplug support for SH-X3 SMP. 2010-04-26 19:09:57 +09:00
ubc.c sh: Abstracted SH-4A UBC support on hw-breakpoint core. 2010-01-05 19:06:45 +09:00