[PATCH 0/2] Use Exynos-MCT timer as wakeup for Arm arch timer

Will Deacon will at kernel.org
Tue Jun 8 08:43:39 PDT 2021


Hi all,

These two patches build on top of my other series for adding per-cpu
wakeup timers [1] which is currently queued in -tip [2].

The basic idea is to prefer the Arm architected timer, even when
CLOCK_EVT_FEAT_C3STOP is set, as long as we have another timer which can
be used for the per-cpu wakeup. These patches use Exynos-MCT as an
example, since that driver currently goes out of its way to prevent use
of the Arm architected timer due to issues with a 32-bit SoC.

Cheers,

Will

[1] https://lore.kernel.org/lkml/20210524221818.15850-1-will@kernel.org/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=timers/core

Cc: Marek Szyprowski <m.szyprowski at samsung.com>
Cc: Krzysztof Kozlowski <krzk at kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
Cc: Chanwoo Choi <cw00.choi at samsung.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano at linaro.org>

--->8

Will Deacon (2):
  clocksource/drivers/exynos_mct: Prioritise Arm arch timer on arm64
  clocksource/drivers/exynos_mct: Mark MCT device as
    CLOCK_EVT_FEAT_PERCPU

 drivers/clocksource/exynos_mct.c | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

-- 
2.32.0.rc1.229.g3e70b5a671-goog




More information about the linux-arm-kernel mailing list