tegra: Set CNTFRQ for secondary CPUs
authorJan Kiszka <[email protected]>
Tue, 21 Apr 2015 05:18:37 +0000 (07:18 +0200)
committerTom Warren <[email protected]>
Wed, 13 May 2015 16:24:16 +0000 (09:24 -0700)
commita0d0a594ccf54f4f430d271cab9ddb95958a9495
treef876541428615359323694e10db098d12eaabf2d
parent73169874a2867cb8ee5ec79eb9f2b176d3af34b2
tegra: Set CNTFRQ for secondary CPUs

We only set CNTFRQ in arch_timer_init for the boot CPU. But this has to
happen for all cores.

Fixing this resolves problems of KVM with emulating the generic
timer/counter.

Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Tested-by: Thierry Reding <[email protected]>
Tested-by: Ian Campbell <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/mach-tegra/psci.S