v3: - limited ignored errors to EBUSY - requires new patch for clockadj_compare() - reduced number of retries from 99 to 2 - changed log level of non-EOPNOTSUPP ioctl error messages
v2: - added patches to make probing more reliable This patchset improves phc2sys to handle the EBUSY error in reading of the PHC. Also, the sysoff ioctl probing function is modified to repeat few times to make it more reliable. Miroslav Lichvar (5): clockadj: Change clockadj_compare() to return errno. sysoff: Change sysoff_measure() to return errno. sysoff: Change log level of ioctl error messages. sysoff: Retry on EBUSY when probing supported ioctls. phc2sys: Don't exit when reading of PHC fails with EBUSY. clockadj.c | 3 ++- clockadj.h | 2 +- phc2sys.c | 50 +++++++++++++++++++++++++++++--------------------- sysoff.c | 43 +++++++++++++++++++++++++++++-------------- sysoff.h | 2 +- 5 files changed, 62 insertions(+), 38 deletions(-) -- 2.35.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel