Marc Zyngier
8c4b810a87
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 <maz@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220203170502.2694422-1-maz@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2022-03-07 18:27:22 +01:00
..
2019-06-19 17:09:07 +02:00
2021-10-16 22:15:01 +02:00
2022-03-07 18:27:22 +01:00
2021-06-16 17:33:04 +02:00
2019-05-30 11:29:22 -07:00
2019-11-04 10:40:10 +01:00
2020-02-27 12:15:24 +01:00
2020-02-27 12:15:24 +01:00
2019-05-30 11:26:32 -07:00
2021-03-22 23:06:48 +01:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2021-12-10 17:46:54 +01:00
2020-05-23 00:02:41 +02:00
2020-01-16 19:06:57 +01:00
2022-03-07 18:27:22 +01:00
2020-08-24 13:01:38 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-07-19 09:24:28 +00:00
2018-11-04 11:04:46 +01:00
2021-04-08 13:24:15 +02:00
2021-08-14 02:44:35 +02:00
2021-04-08 13:23:22 +02:00
2017-06-14 11:58:45 +02:00
2021-12-20 13:28:28 +01:00
2021-12-20 13:28:28 +01:00
2020-05-23 00:03:16 +02:00
2019-06-19 17:09:55 +02:00
2020-10-01 10:07:26 +02:00
2021-01-18 22:28:59 +01:00
2020-07-23 16:57:43 +02:00
2019-06-05 17:36:37 +02:00
2021-12-09 14:05:20 +01:00
2021-06-04 10:12:13 +02:00
2019-05-30 11:26:32 -07:00
2021-08-13 20:26:29 +02:00
2020-11-10 20:42:01 +01:00
2020-11-10 20:42:01 +01:00
2020-10-02 16:27:28 +02:00
2018-07-26 11:26:30 +02:00
2019-06-19 17:09:55 +02:00
2020-04-15 10:57:15 +02:00
2021-03-22 23:06:48 +01:00
2020-12-03 19:16:26 +01:00
2020-09-29 23:55:27 -07:00
2020-03-12 19:23:06 +01:00
2021-01-18 16:31:39 +01:00
2017-06-14 11:58:45 +02:00
2021-03-22 23:06:48 +01:00
2021-08-14 10:49:49 +02:00
2020-08-24 13:01:39 +02:00
2020-02-27 12:15:24 +01:00
2022-01-26 10:00:39 +01:00
2022-02-16 14:43:30 +01:00
2020-02-27 12:15:24 +01:00
2021-08-04 12:20:13 +02:00
2019-06-19 17:09:55 +02:00
2018-10-03 14:37:02 +02:00
2021-08-14 02:44:35 +02:00
2020-02-27 12:15:24 +01:00
2021-03-22 23:06:48 +01:00
2019-05-02 21:55:58 +02:00
2018-12-31 23:17:23 +08:00
2021-12-20 13:28:39 +01:00
2021-04-08 13:24:16 +02:00
2021-03-22 23:06:48 +01:00
2018-01-08 17:57:24 +01:00
2020-12-03 19:16:26 +01:00
2020-02-27 09:42:00 +01:00
2019-05-30 11:29:52 -07:00
2021-12-14 10:17:36 +01:00
2020-10-25 14:51:49 -07:00
2020-02-27 12:15:24 +01:00
2019-06-05 17:36:37 +02:00
2018-12-18 22:22:23 +01:00
2021-10-04 16:07:16 +05:30
2019-06-19 17:09:55 +02:00
2020-12-03 19:16:18 +01:00
2020-09-24 10:51:04 +02:00
2018-07-26 11:26:34 +02:00
2020-06-18 11:19:58 +01:00
2019-05-30 11:29:22 -07:00
2019-08-27 00:31:39 +02:00
2019-02-23 12:13:45 +01:00
2019-06-25 19:49:18 +02:00
2020-07-23 16:57:43 +02:00
2022-03-07 18:27:16 +01:00
2021-06-16 17:33:04 +02:00
2020-05-23 00:03:25 +02:00
2021-03-22 23:06:48 +01:00
2020-02-27 12:15:24 +01:00
2020-02-27 12:15:24 +01:00