clocksource/drivers/imx-tpm: Add CLOCK_EVT_FEAT_DYNIRQ
authorPeng Fan <peng.fan@nxp.com>
Tue, 14 Dec 2021 12:07:36 +0000 (20:07 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Jan 2022 09:01:00 +0000 (10:01 +0100)
commit39664b624f6a6518001b2c8f86bac1352c89d0af
tree79f122c033ab20dd08c30a9006fc9c278d566545
parent5b3c267506eba2972d53dafb8b988d5fd28d223d
clocksource/drivers/imx-tpm: Add CLOCK_EVT_FEAT_DYNIRQ

Add CLOCK_EVT_FEAT_DYNIRQ to allow the IRQ could be runtime set affinity
to the cores that needs wake up, otherwise saying core0 has to send
IPI to wakeup core1. With CLOCK_EVT_FEAT_DYNIRQ set, when broadcast
timer could wake up the cores, IPI is not needed.

Acked-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20211214120737.1611955-5-peng.fan@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-imx-tpm.c