tegra: Set CNTFRQ for secondary CPUs
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:37 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
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 <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/psci.S