clocksource/drivers/sp804: Enable Hisilicon sp804 timer 64bit mode
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 18 Sep 2020 13:22:36 +0000 (21:22 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 24 Sep 2020 08:51:04 +0000 (10:51 +0200)
commit549437a43f45ce70cf5012317633c635c43ba4f4
treea1d1a8deafd03c00822cd56fbe0d99cf6314f13f
parentbd5a1936ffa2b69032815775fa54fc1c422d49d5
clocksource/drivers/sp804: Enable Hisilicon sp804 timer 64bit mode

A 100MHZ 32-bit timer will be wrapped up less than 43s. Although the
kernel maintains a software high 32-bit count in the tick IRQ. But it's
not applicable to the user mode APPs.

Note: The kernel still uses the lower 32 bits of the timer.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200918132237.3552-9-thunder.leizhen@huawei.com
drivers/clocksource/timer-sp.h
drivers/clocksource/timer-sp804.c