Re: [Linuxptp-devel] [PATCH v3 0/3] Fix TAI offset in generic pps source

2023-02-12 Thread Richard Cochran
On Wed, Feb 08, 2023 at 05:51:08PM +0100, Maciek Machnikowski wrote: > Current implementation of generic pps source relies on the UTC-TAI offset read > from system. Some OSes don't set that offset by default and return 0. In such > case ts2phc sets PHC time to UTC timescale without notifying user.

[Linuxptp-devel] [PATCH v3 0/3] Fix TAI offset in generic pps source

2023-02-08 Thread Maciek Machnikowski
Current implementation of generic pps source relies on the UTC-TAI offset read from system. Some OSes don't set that offset by default and return 0. In such case ts2phc sets PHC time to UTC timescale without notifying user. This patch series moves leapfile handling to lstab and reuses the logic