On Mon, Jul 24, 2017 at 06:38:17PM +0200, Richard Cochran wrote:
> This patch series addresses the jumping UTC offset issue that occurs
> when the default TAI-UTC offset is out of date, but a then GM master
> appears providing the correct offset, only to disappear again.
> 
> Review and comments are most welcome.

The patches look good to me and in brief testing it seems to be
working as expected.

An unrelated issue I noticed is that restarting ptp4l which is
compiled/configured with an incorrect offset when phc2sys was already
running and its pmc update happens before ptp4l gets the correct
offset from its master causes phc2sys to use the incorrect offset
until next pmc update. Would the fix require modifying ptp4l to send
an update to subscribed clients when it's terminating, so phc2sys
stops updating the clock and starts again only when it has correct UTC
offset?

-- 
Miroslav Lichvar

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to