clocksource/drivers/ingenic: Add high resolution timer support for SMP/SMT.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Wed, 24 Jun 2020 17:07:49 +0000 (01:07 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 23 Jul 2020 14:57:19 +0000 (16:57 +0200)
commitf19d838d08fc1cde742dedafa776a865e1682e63
tree23d2a52f2aaf0e99daca3f5c08c7a5f766a01113
parent467ae18aa057c44417afc92896879c2fb37a8b65
clocksource/drivers/ingenic: Add high resolution timer support for SMP/SMT.

Enable clock event handling on per CPU core basis. Make sure that
interrupts raised on the first core execute event handlers on the
correct CPU core. This driver is required by Ingenic processors
that support SMP/SMT, such as JZ4780 and X2000.

Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Tested-by: Paul Boddie <paul@boddie.org.uk>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200624170749.31762-2-zhouyanjie@wanyeetech.com
drivers/clocksource/ingenic-timer.c