Re: [patch 24/24] ptp: Switch to ktime_get_snapshot_id() for pre/post timestamps

From: Vadim Fedorenko

Date: Wed May 27 2026 - 09:11:16 EST


On 26/05/2026 18:15, Thomas Gleixner wrote:
To prepare for a new PTP IOCTL, which exposes the raw counter value along
with the requested system time snapshot, switch the pre/post time stamp
sampling over to use ktime_get_snapshot_id() and fix up all usage sites.

No functional change intended.

The ptp_vmclock conversion was simplified by David Woodhouse.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>

for ptp_ocp:
Acked-by: Vadim Fedorenko <vadim.fedorenko@xxxxxxxxx>