Changes in v3:
- Fixed direction of sync offset.
- Fixed NULL ptr deref with manual configuration.
- Added a patch that resets sync offset when grandmaster time scale changes
  to a non PTP timescale, e.g. when ptp4l in software time stamping mode
  becomes grandmaster. This bug was the reason why I haven't noticed the
  swapped sync offset in the previous testing.
Changes in v2:
- added PMC_SUBSCRIBE_DURATION constant
- fixed wrong invocation of update_pmc

This is the phc2sys part of the autoconfig patchset. It uses the event
subscription mechanism implemented in ptp4l.

The patchset is prepared to handle the "emulated boundary clock" scenario,
i.e. ptp4l working over multiple PHC's. I have old patches to do that (the
dynamic port allocation patchset + patchset to support multiple PHC's) which
I'll rebase on top of this and post after the patchset is accepted.

Jiri Benc (15):
  phc2sys: generalize run_pmc
  phc2sys: split update_sync_offset
  phc2sys: split clock and node
  phc2sys: store information about clocks being UTC or TAI
  phc2sys: rearrange declarations
  phc2sys: open devices in clock_add
  phc2sys: track ports
  pmc_common: easy way to set port and broadcast target
  phc2sys: event subscription
  phc2sys: propagate received errors
  phc2sys: autoconfiguration
  phc2sys: autoconfigure realtime clock on demand only
  phc2sys: check clockIdentity
  phc2sys: man page update for -a and -r options
  phc2sys: reset sync offset if non PTP timescale

 phc2sys.8    |  115 +++++--
 phc2sys.c    | 1083 ++++++++++++++++++++++++++++++++++++++++++++--------------
 pmc_common.c |   12 +-
 pmc_common.h |    2 +
 4 files changed, 915 insertions(+), 297 deletions(-)

-- 
1.7.6.5


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to