clocksource/drivers/imx-tpm: Exclude sched clock for ARM64
authorPeng Fan <peng.fan@nxp.com>
Wed, 5 Jan 2022 12:43:04 +0000 (20:43 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Feb 2022 13:43:30 +0000 (14:43 +0100)
commit10720e120e2b1d66172dccb06eb4f346a665cca6
tree324d324f7987f50a0af862e31e6fdc21238fce7d
parente547ffe9e6f497e36bde9d86dbcfbc781946752b
clocksource/drivers/imx-tpm: Exclude sched clock for ARM64

For ARM64 platform such as i.MX8ULP which has ARMv8 generic timer as sched
clock, which is much faster compared with tpm sched clock. Reading the
tpm count register in i.MX8ULP requires about 290ns, this is slow and
introduce scheduler latency. So exclude tpm sched clock for ARM64
platform.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220105124304.3567629-1-peng.fan@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-imx-tpm.c