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

2022-12-03 Thread Richard Cochran
On Tue, Oct 18, 2022 at 05:08:27PM +0200, 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.

Re: [Linuxptp-devel] [PATCH v1 3/3] ts2phc: Fix generic pps source when tai offset is not set in OS

2022-12-03 Thread Richard Cochran
On Tue, Oct 18, 2022 at 05:08:30PM +0200, Maciek Machnikowski wrote: > This patch adds support for the leapfile in the generic pps source. > Such implementations prevents situtation when TAI offset is not set in the > system (which is true when there is no NTP daemon running that sets it) from > se

Re: [Linuxptp-devel] [PATCH v1 2/3] lstab: move update_leapsecond_table function to lstab

2022-12-03 Thread Richard Cochran
On Tue, Oct 18, 2022 at 05:08:29PM +0200, Maciek Machnikowski wrote: > To enable handling lstab in the same way by different pps sources, move > update_leapsecond_table function from the nmea_pps_source to the generic lstab > file. This also required moving leapfile filename and its modification ti

Re: [Linuxptp-devel] [PATCH v1 1/3] lstab: Add LSTAB_EXPIRED result

2022-12-03 Thread Richard Cochran
On Tue, Oct 18, 2022 at 05:08:28PM +0200, Maciek Machnikowski wrote: > LSTAB_UNKNOWN is too generic, add LSTAB_EXPIRED result to return the latest > lstab correction and indicate that the tab used to resolve it is expired. > > This is useful for more precise reporting of lstab file state and will

Re: [Linuxptp-devel] [PATCH] makefile: use conditional assignment for KBUILD_OUTPUT

2022-12-03 Thread Richard Cochran
On Sat, Dec 03, 2022 at 08:01:53AM +0100, Heiko Thiery wrote: > Hi, > > Am Mi., 23. Nov. 2022 um 02:09 Uhr schrieb : > > > > From: Changqing Li > > > > Refer [1],from make 4.4, all variables that are marked as export will > > also be passed to the shell started by the shell function. use "=" will