clocksource/drivers/exynos_mct: Mark MCT device as CLOCK_EVT_FEAT_PERCPU
authorWill Deacon <will@kernel.org>
Tue, 8 Jun 2021 15:43:41 +0000 (16:43 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 13 Aug 2021 07:24:22 +0000 (09:24 +0200)
commit88183788eacb782eb6e1295f1934fb9531b503d6
tree2bd689d5b4825c515be74ae03ed75d98f0e09141
parentae460fd9164b16654d8ec06cbc280b832f840eac
clocksource/drivers/exynos_mct: Mark MCT device as CLOCK_EVT_FEAT_PERCPU

The "mct_tick" is a per-cpu clockevents device. Set the
CLOCK_EVT_FEAT_PERCPU feature to prevent e.g. mct_tick0 being unsafely
designated as the global broadcast timer and instead treat the device as
a per-cpu wakeup timer.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Will Deacon <will@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210608154341.10794-3-will@kernel.org
drivers/clocksource/exynos_mct.c