]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/tegra: Support per-CPU timers on all Tegra's
authorDmitry Osipenko <digetx@gmail.com>
Mon, 3 Jun 2019 18:59:39 +0000 (21:59 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Jun 2019 17:49:18 +0000 (19:49 +0200)
commit4ca2014fb1dcfbc39d5bb4e8bb504ef1bc2c6bd6
tree66eb5f9787a15eb64cef24ab62dc9410335a8308
parent181cb6086583e35450c9312f4c1d6bb1038bb33b
clocksource/drivers/tegra: Support per-CPU timers on all Tegra's

Assign TMR1-4 per-CPU core on 32bit Tegra's in a way it is done for
Tegra210. In a result each core can handle its own timer events, less
code is unique to ARM64 and Tegra's clock events driver now has higher
rating on all Tegra's, replacing the ARM's TWD timer which isn't very
accurate due to the clock rate jitter caused by CPU frequency scaling.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra20.c