[PATCH v13 5/9] time: Add mechanism to recognize clocksource in time_get_snapshot

2020-06-19 Thread Jianyong Wu
From: Thomas Gleixner System time snapshots are not conveying information about the current clocksource which was used, but callers like the PTP KVM guest implementation have the requirement to evaluate the clocksource type to select the appropriate mechanism. Introduce a clocksource id field in

[RFC PATCH v13 5/9] time: Add mechanism to recognize clocksource in time_get_snapshot

2020-06-19 Thread Jianyong Wu
From: Thomas Gleixner System time snapshots are not conveying information about the current clocksource which was used, but callers like the PTP KVM guest implementation have the requirement to evaluate the clocksource type to select the appropriate mechanism. Introduce a clocksource id field in