Peter Hilber
9be3b2f057
ptp/kvm, arm_arch_timer: Set system_counterval_t.cs_id to constant
...
Identify the clocksources used by ptp_kvm by setting the clocksource ID
enum constants. This avoids dereferencing struct clocksource. Once the
system_counterval_t.cs member will be removed, this will also avoid the
need to obtain clocksource pointers from kvm_arch_ptp_get_crosststamp().
The clocksource IDs are associated to timestamps requested from the KVM
hypervisor, so the proper clocksource ID is known at the ptp_kvm request
site.
While at it, also make the ptp_kvm_get_time_fn() 'ret' variable type int as
that's what the function return value is.
Signed-off-by: Peter Hilber <peter.hilber@opensynergy.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240201010453.2212371-6-peter.hilber@opensynergy.com
2024-02-07 17:05:21 +01:00
..
2023-02-02 14:23:02 -08:00
2021-10-16 22:15:01 +02:00
2024-02-07 17:05:21 +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
2023-08-28 13:30:57 -05:00
2022-05-18 11:08:59 +02: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
2023-04-13 13:13:51 -07:00
2023-04-24 16:56:13 +02:00
2023-08-22 00:38:20 +00:00
2018-11-04 11:04:46 +01:00
2022-12-01 11:56:36 +01:00
2021-08-14 02:44:35 +02:00
2023-06-19 16:17:42 +02:00
2022-05-18 11:08:59 +02:00
2023-10-15 23:36:36 +02:00
2023-10-15 23:36:36 +02:00
2022-05-18 11:08:59 +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
2023-08-28 13:30:57 -05:00
2019-06-05 17:36:37 +02:00
2022-09-07 10:12:56 +02:00
2021-06-04 10:12:13 +02:00
2019-05-30 11:26:32 -07:00
2023-08-28 13:30:57 -05:00
2023-04-29 10:24:30 -07:00
2023-04-13 13:13:51 -07:00
2022-05-18 11:08:59 +02:00
2019-06-19 17:09:55 +02:00
2020-04-15 10:57:15 +02:00
2023-10-13 12:56:50 +02:00
2023-12-27 15:37:11 +01:00
2023-04-08 11:26:24 +01:00
2020-03-12 19:23:06 +01:00
2023-04-24 16:56:13 +02:00
2022-05-18 11:08:59 +02:00
2023-12-27 15:37:11 +01:00
2021-03-22 23:06:48 +01:00
2021-08-14 10:49:49 +02:00
2022-04-11 11:48:01 +02:00
2020-08-24 13:01:39 +02:00
2023-08-28 13:30:57 -05:00
2023-10-11 10:10:34 +02:00
2022-09-20 10:49:46 +02:00
2022-03-07 18:27:22 +01:00
2023-08-28 13:30:57 -05:00
2022-05-18 11:08:52 +02:00
2019-06-19 17:09:55 +02:00
2023-08-18 12:13:03 +02:00
2022-05-18 11:08:59 +02:00
2023-04-24 16:56:13 +02:00
2023-04-24 16:56:13 +02:00
2020-02-27 12:15:24 +01:00
2023-02-13 13:10:17 +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
2022-12-02 12:48:28 +01:00
2022-03-07 19:21:25 +01:00
2018-01-08 17:57:24 +01:00
2022-05-18 11:08:59 +02:00
2020-02-27 09:42:00 +01:00
2022-05-18 11:08:59 +02: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
2023-12-27 15:37:11 +01:00
2019-06-19 17:09:55 +02:00
2022-11-24 15:09:10 +01:00
2020-09-24 10:51:04 +02:00
2018-07-26 11:26:34 +02:00
2023-04-29 10:24:30 -07:00
2019-05-30 11:29:22 -07:00
2023-02-13 13:10:17 +01:00
2023-10-11 12:06:41 +02:00
2023-08-28 13:30:57 -05:00
2019-06-25 19:49:18 +02:00
2020-07-23 16:57:43 +02:00
2023-04-24 16:56:14 +02:00
2023-12-27 15:37:11 +01: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