diff options
| author | Marc Zyngier <[email protected]> | 2022-02-03 17:05:02 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2022-03-07 17:27:22 +0000 |
| commit | 8c4b810a87005eb46564a48a69b5b255e515fa62 (patch) | |
| tree | e00c26a8d120cf16e7c2acd006b408c9dfbe3e50 /drivers/clocksource/timer-imx-tpm.c | |
| parent | clocksource/drivers/exynos_mct: Increase the size of name array (diff) | |
| download | kernel-8c4b810a87005eb46564a48a69b5b255e515fa62.tar.gz kernel-8c4b810a87005eb46564a48a69b5b255e515fa62.zip | |
clocksource/drivers/arm_arch_timer: Use event stream scaling when available
With FEAT_ECV and the 1GHz counter, it is pretty likely that the
event stream divider doesn't fit in the field that holds the
divider value (we only have 4 bits to describe counter bits [15:0]
Thankfully, FEAT_ECV also provides a scaling mechanism to switch
the field to cover counter bits [23:8] instead.
Enable this on arm64 when ECV is available (32bit doesn't have
any detection infrastructure and is unlikely to be run on an
ARMv8.6 system anyway).
Signed-off-by: Marc Zyngier <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-imx-tpm.c')
0 files changed, 0 insertions, 0 deletions
