On Tue, Aug 12, 2025 at 05:17:06PM +0300, Tariq Toukan wrote: > From: Carolina Jubran <cjubran@xxxxxxxxxx> > > Introduce two new ioctl commands, PTP_SYS_OFFSET_PRECISE_CYCLES and > PTP_SYS_OFFSET_EXTENDED_CYCLES, to allow user space to access the > raw free-running cycle counter from PTP devices. > > These ioctls are variants of the existing PRECISE and EXTENDED > offset queries, but instead of returning device time in realtime, > they return the raw cycle counter value. > > Signed-off-by: Carolina Jubran <cjubran@xxxxxxxxxx> > Reviewed-by: Dragos Tatulea <dtatulea@xxxxxxxxxx> > Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx> Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>