Re: [Linuxptp-devel] [PATCH] PHC Index is invalid in phc2sys when ptp4l is in free_running mode.

2023-07-26 Thread Arun Saravanan via Linuxptp-devel
Didn’t realize that Maciek Machnikowski’s proposal for PTP Time of Day proposal is still pending. I have attached here for reference. From: Miroslav Lichvar Date: Wednesday, July 26, 2023 at 12:37 AM To: Arun Saravanan Cc: Erez , linuxptp-devel@lists.sourceforge.net Subject: Re: [Linuxptp-dev

Re: [Linuxptp-devel] [PATCH] PHC Index is invalid in phc2sys when ptp4l is in free_running mode.

2023-07-26 Thread Arun Saravanan via Linuxptp-devel
On Tue, Jul 25, 2023 at 06:12:50PM +, Arun Saravanan via Linuxptp-devel wrote: > Use case is – > ptp4l in free_running mode – PTP syncs the TOD > PHC disciplined by other means, say PPS > phc2sys source is PHC. >> I'm sorry, I still don't follow. What exactly is "PTP" and "TOD" here? Is >>

[Linuxptp-devel] [PATCH v6 0/2] don't report random errno on timeout

2023-07-26 Thread Lukasz Plachno
Improve error reporting in case of timeout while reading tx timestamp, extend documentation with information about increasing kthread priority. v6: - Manual: unify style for commands, indent shell examples and error log - Manual: use SCHED_FIFO instead of SCHED_RR in example for bumping kthre

Re: [Linuxptp-devel] [PATCH v5 2/2] ptp4l man: Add description for setting kthreads priorities

2023-07-26 Thread Plachno, Lukasz
On 7/26/2023 6:59 AM, Richard Cochran wrote: On Tue, Jul 25, 2023 at 09:34:00AM +0200, Lukasz Plachno wrote: As tx timestamp timeout is something multiple users encounter, provide information for configuring kthread priorities in manual for ptp4l where tx_timestamp_timeout is already described.

[Linuxptp-devel] [PATCH v6 1/2] sk: don't report random errno on timeout

2023-07-26 Thread Lukasz Plachno
From: Przemek Kitszel With neither caller nor poll() itself zeroing errno value, it will contain result of previous failure, possibly from long time ago. Reporting errno=0 up from sk_receive() would bring confusion, as "%m" is later used in pr_err() (so one would get "error Success"). Use ETIME

[Linuxptp-devel] [PATCH v6 2/2] ptp4l man: Add description for setting kthreads priorities

2023-07-26 Thread Lukasz Plachno
As tx timestamp timeout is something multiple users encounter, provide information for configuring kthread priorities in manual for ptp4l where tx_timestamp_timeout is already described. Signed-off-by: Lukasz Plachno --- ptp4l.8 | 36 1 file changed, 36 inser

Re: [Linuxptp-devel] [PATCH v2 1/6] Add doubly attached clock support

2023-07-26 Thread Erez
On Wed, 26 Jul 2023 at 04:39, Richard Cochran wrote: > On Tue, Jul 04, 2023 at 12:30:38PM +0200, Stephan Wurm wrote: > > > diff --git a/fsm.h b/fsm.h > > index 857af05..919e934 100644 > > --- a/fsm.h > > +++ b/fsm.h > > @@ -31,6 +31,7 @@ enum port_state { > > PS_PASSIVE, > > PS_UNCALI

Re: [Linuxptp-devel] [PATCH] PHC Index is invalid in phc2sys when ptp4l is in free_running mode.

2023-07-26 Thread Miroslav Lichvar
On Tue, Jul 25, 2023 at 06:12:50PM +, Arun Saravanan via Linuxptp-devel wrote: > Use case is – > ptp4l in free_running mode – PTP syncs the TOD > PHC disciplined by other means, say PPS > phc2sys source is PHC. I'm sorry, I still don't follow. What exactly is "PTP" and "TOD" here? Is the ptp