[Linuxptp-devel] [PATCH 0/3] Bug fix and improved clockcheck
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Miroslav L. <mli...@re...> - 2022-10-06 06:39:12
|
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 |