Add SMP/SMT support for sysost driver.

From: 周琰杰 (Zhou Yanjie)
Date: Fri Jun 04 2021 - 12:32:02 EST


v1->v2:
1.split changes about x1000 and array name to separate patch.
2.Fix bug in ingenic_ost_global_timer_recalc_rate().
3.Add a backpointer to the ingenic_ost structure.
4.Remove unnecessary spinlock.
5.Use "ret = ost->irq" instead "ret = -EINVAL".
6.Use "%d" instead "%x" in pr_crit().

周琰杰 (Zhou Yanjie) (2):
clocksource: Ingenic: Rename unreasonable array names.
clocksource: Ingenic: Add SMP/SMT support for sysost driver.

drivers/clocksource/ingenic-sysost.c | 323 ++++++++++++++++++++++++++---------
1 file changed, 240 insertions(+), 83 deletions(-)

--
2.7.4