This set improves the clock check to consider the last frequency set by
ptp4l/phc2sys in order to detect cases where multiple processes are
trying to control the same clock due to a misconfiguration or bug.

The first two patches fix a recent bug in phc2sys and remove an old
workaround to enable the new feature.

Miroslav Lichvar (3):
  phc2sys: Add clocks after processing configuration.
  Drop support for old kernels returning zero frequency.
  Extend clockcheck to check for changes in frequency.

 clock.c      | 17 ++++++++---------
 clockcheck.c |  9 +++++++++
 clockcheck.h |  8 ++++++++
 phc2sys.8    |  2 +-
 phc2sys.c    | 51 ++++++++++++++++++++++++++++-----------------------
 ptp4l.8      |  4 +++-
 ts2phc.c     |  7 -------
 7 files changed, 57 insertions(+), 41 deletions(-)

-- 
2.37.3



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to