diff --git a/base/linuxptp/debian/bullseye/patches/0001-clock-Reset-state-when-switching-port-with-same-best.patch b/base/linuxptp/debian/bullseye/patches/0001-clock-Reset-state-when-switching-port-with-same-best.patch index bbb5153e2..50bb48acc 100644 --- a/base/linuxptp/debian/bullseye/patches/0001-clock-Reset-state-when-switching-port-with-same-best.patch +++ b/base/linuxptp/debian/bullseye/patches/0001-clock-Reset-state-when-switching-port-with-same-best.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:52 +0200 -Subject: [PATCH 01/65] clock: Reset state when switching port with same best +Subject: [PATCH 01/67] clock: Reset state when switching port with same best clock. When the best port is changed, but the ID of the best clock doesn't diff --git a/base/linuxptp/debian/bullseye/patches/0002-clock-Reset-clock-check-on-best-clock-port-change.patch b/base/linuxptp/debian/bullseye/patches/0002-clock-Reset-clock-check-on-best-clock-port-change.patch index d714d56b6..aa8766347 100644 --- a/base/linuxptp/debian/bullseye/patches/0002-clock-Reset-clock-check-on-best-clock-port-change.patch +++ b/base/linuxptp/debian/bullseye/patches/0002-clock-Reset-clock-check-on-best-clock-port-change.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:53 +0200 -Subject: [PATCH 02/65] clock: Reset clock check on best clock/port change. +Subject: [PATCH 02/67] clock: Reset clock check on best clock/port change. Reset the clock check when the best clock or port changes, together with the other state like current estimated delay and frequency. This avoids diff --git a/base/linuxptp/debian/bullseye/patches/0003-port-Don-t-check-timestamps-from-non-slave-ports.patch b/base/linuxptp/debian/bullseye/patches/0003-port-Don-t-check-timestamps-from-non-slave-ports.patch index 23e7b1a97..dad505c3b 100644 --- a/base/linuxptp/debian/bullseye/patches/0003-port-Don-t-check-timestamps-from-non-slave-ports.patch +++ b/base/linuxptp/debian/bullseye/patches/0003-port-Don-t-check-timestamps-from-non-slave-ports.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:54 +0200 -Subject: [PATCH 03/65] port: Don't check timestamps from non-slave ports. +Subject: [PATCH 03/67] port: Don't check timestamps from non-slave ports. Don't perform the sanity check on receive timestamps from ports in non-slave states to avoid false positives in the jbod mode, where diff --git a/base/linuxptp/debian/bullseye/patches/0004-port-Don-t-renew-raw-transport.patch b/base/linuxptp/debian/bullseye/patches/0004-port-Don-t-renew-raw-transport.patch index 19ff5b414..e515e2eb7 100644 --- a/base/linuxptp/debian/bullseye/patches/0004-port-Don-t-renew-raw-transport.patch +++ b/base/linuxptp/debian/bullseye/patches/0004-port-Don-t-renew-raw-transport.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:55 +0200 -Subject: [PATCH 04/65] port: Don't renew raw transport. +Subject: [PATCH 04/67] port: Don't renew raw transport. Renewing of the transport on announce/sync timeout is needed in the client-only mode to avoid getting stuck with a broken multicast socket diff --git a/base/linuxptp/debian/bullseye/patches/0005-clockcheck-Increase-minimum-interval.patch b/base/linuxptp/debian/bullseye/patches/0005-clockcheck-Increase-minimum-interval.patch index 08f9ef7e1..93798bfc3 100644 --- a/base/linuxptp/debian/bullseye/patches/0005-clockcheck-Increase-minimum-interval.patch +++ b/base/linuxptp/debian/bullseye/patches/0005-clockcheck-Increase-minimum-interval.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Mon, 31 May 2021 11:07:56 +0200 -Subject: [PATCH 05/65] clockcheck: Increase minimum interval. +Subject: [PATCH 05/67] clockcheck: Increase minimum interval. Increase the minimum check interval to 1 second to measure the frequency offset more accurately and with default configuration make false diff --git a/base/linuxptp/debian/bullseye/patches/0006-Add-option-to-disable-default-port-selection-in-phc2.patch b/base/linuxptp/debian/bullseye/patches/0006-Add-option-to-disable-default-port-selection-in-phc2.patch index 624e9a069..3a2aad317 100644 --- a/base/linuxptp/debian/bullseye/patches/0006-Add-option-to-disable-default-port-selection-in-phc2.patch +++ b/base/linuxptp/debian/bullseye/patches/0006-Add-option-to-disable-default-port-selection-in-phc2.patch @@ -1,6 +1,6 @@ From: Cole Walker Date: Wed, 23 Jun 2021 11:14:41 -0400 -Subject: [PATCH 06/65] Add option to disable default port selection in +Subject: [PATCH 06/67] Add option to disable default port selection in phc2sys This change serves to address an issue in phc2sys diff --git a/base/linuxptp/debian/bullseye/patches/0007-sysoff-Change-sysoff_measure-to-return-errno.patch b/base/linuxptp/debian/bullseye/patches/0007-sysoff-Change-sysoff_measure-to-return-errno.patch index 4fda29d1c..a6af3bddb 100644 --- a/base/linuxptp/debian/bullseye/patches/0007-sysoff-Change-sysoff_measure-to-return-errno.patch +++ b/base/linuxptp/debian/bullseye/patches/0007-sysoff-Change-sysoff_measure-to-return-errno.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Wed, 18 May 2022 11:33:35 +0200 -Subject: [PATCH 07/65] sysoff: Change sysoff_measure() to return errno. +Subject: [PATCH 07/67] sysoff: Change sysoff_measure() to return errno. Return -errno from failed ioctl instead of the SYSOFF_* enum from the measurement functions to allow the callers to check for specific errors. diff --git a/base/linuxptp/debian/bullseye/patches/0008-sysoff-Change-log-level-of-ioctl-error-messages.patch b/base/linuxptp/debian/bullseye/patches/0008-sysoff-Change-log-level-of-ioctl-error-messages.patch index b0e83a66a..238a32d5d 100644 --- a/base/linuxptp/debian/bullseye/patches/0008-sysoff-Change-log-level-of-ioctl-error-messages.patch +++ b/base/linuxptp/debian/bullseye/patches/0008-sysoff-Change-log-level-of-ioctl-error-messages.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Wed, 18 May 2022 11:33:36 +0200 -Subject: [PATCH 08/65] sysoff: Change log level of ioctl error messages. +Subject: [PATCH 08/67] sysoff: Change log level of ioctl error messages. Change the log level of ioctl error messages to the error level to make them visible in default configuration, with the exception of EOPNOTSUPP diff --git a/base/linuxptp/debian/bullseye/patches/0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch b/base/linuxptp/debian/bullseye/patches/0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch index 1b0d4a0c2..67f318cc8 100644 --- a/base/linuxptp/debian/bullseye/patches/0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch +++ b/base/linuxptp/debian/bullseye/patches/0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Wed, 18 May 2022 11:33:37 +0200 -Subject: [PATCH 09/65] sysoff: Retry on EBUSY when probing supported ioctls. +Subject: [PATCH 09/67] sysoff: Retry on EBUSY when probing supported ioctls. Handle EBUSY when probing support for a PTP_SYS_OFFSET ioctl. Try each ioctl up to three times before giving up on it to make the detection diff --git a/base/linuxptp/debian/bullseye/patches/0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch b/base/linuxptp/debian/bullseye/patches/0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch index e650cc082..b7c57961d 100644 --- a/base/linuxptp/debian/bullseye/patches/0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch +++ b/base/linuxptp/debian/bullseye/patches/0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch @@ -1,6 +1,6 @@ From: Miroslav Lichvar Date: Wed, 18 May 2022 11:33:38 +0200 -Subject: [PATCH 10/65] phc2sys: Don't exit when reading of PHC fails with +Subject: [PATCH 10/67] phc2sys: Don't exit when reading of PHC fails with EBUSY. Reading of the PHC can occasionally fail with some drivers, e.g. the ice diff --git a/base/linuxptp/debian/bullseye/patches/0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch b/base/linuxptp/debian/bullseye/patches/0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch index ec5c1a599..1c02df353 100644 --- a/base/linuxptp/debian/bullseye/patches/0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch +++ b/base/linuxptp/debian/bullseye/patches/0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 13:47:47 -0300 -Subject: [PATCH 11/65] phc2sys: extract PMC functionality into a smaller +Subject: [PATCH 11/67] phc2sys: extract PMC functionality into a smaller struct pmc_node This creates a smaller structure within phc2sys_private, which embeds diff --git a/base/linuxptp/debian/bullseye/patches/0012-phc2sys-make-PMC-functions-non-static.patch b/base/linuxptp/debian/bullseye/patches/0012-phc2sys-make-PMC-functions-non-static.patch index 8885bc8be..690309da2 100644 --- a/base/linuxptp/debian/bullseye/patches/0012-phc2sys-make-PMC-functions-non-static.patch +++ b/base/linuxptp/debian/bullseye/patches/0012-phc2sys-make-PMC-functions-non-static.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 13:59:48 -0300 -Subject: [PATCH 12/65] phc2sys: make PMC functions non-static +Subject: [PATCH 12/67] phc2sys: make PMC functions non-static In preparation of a trivial movement of code to pmc_common.c, remove the "static" keyword from the functions that will end up there, since they diff --git a/base/linuxptp/debian/bullseye/patches/0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch b/base/linuxptp/debian/bullseye/patches/0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch index f6001ce9d..2a1238756 100644 --- a/base/linuxptp/debian/bullseye/patches/0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch +++ b/base/linuxptp/debian/bullseye/patches/0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:34:19 -0300 -Subject: [PATCH 13/65] phc2sys: break out pmc code into pmc_common.c +Subject: [PATCH 13/67] phc2sys: break out pmc code into pmc_common.c The code through which phc2sys sends various PTP management messages to ptp4l via pmc can be reused. diff --git a/base/linuxptp/debian/bullseye/patches/0014-Introduce-the-PMC-agent-module.patch b/base/linuxptp/debian/bullseye/patches/0014-Introduce-the-PMC-agent-module.patch index 2bec4b298..3012e8bf5 100644 --- a/base/linuxptp/debian/bullseye/patches/0014-Introduce-the-PMC-agent-module.patch +++ b/base/linuxptp/debian/bullseye/patches/0014-Introduce-the-PMC-agent-module.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:40:59 -0300 -Subject: [PATCH 14/65] Introduce the PMC agent module. +Subject: [PATCH 14/67] Introduce the PMC agent module. The logic for placing PTP management queries migrated out of phc2sys into pmc_common in order to be shared with other programs in the future. This diff --git a/base/linuxptp/debian/bullseye/patches/0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch b/base/linuxptp/debian/bullseye/patches/0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch index 21d512ad6..c5fe71acc 100644 --- a/base/linuxptp/debian/bullseye/patches/0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch +++ b/base/linuxptp/debian/bullseye/patches/0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:47:36 -0300 -Subject: [PATCH 15/65] pmc_agent: Rename pmc_node to something more +Subject: [PATCH 15/67] pmc_agent: Rename pmc_node to something more descriptive. Signed-off-by: Richard Cochran diff --git a/base/linuxptp/debian/bullseye/patches/0016-pmc_agent-Hide-the-implementation.patch b/base/linuxptp/debian/bullseye/patches/0016-pmc_agent-Hide-the-implementation.patch index a4ccd38ad..0ab29b673 100644 --- a/base/linuxptp/debian/bullseye/patches/0016-pmc_agent-Hide-the-implementation.patch +++ b/base/linuxptp/debian/bullseye/patches/0016-pmc_agent-Hide-the-implementation.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:55:29 -0300 -Subject: [PATCH 16/65] pmc_agent: Hide the implementation. +Subject: [PATCH 16/67] pmc_agent: Hide the implementation. The PMC agent's implementation should not be exposed to its users. This patch hides the details and provides a method to create an instance. In diff --git a/base/linuxptp/debian/bullseye/patches/0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch b/base/linuxptp/debian/bullseye/patches/0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch index 5282e08c6..7afbdd0b6 100644 --- a/base/linuxptp/debian/bullseye/patches/0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch +++ b/base/linuxptp/debian/bullseye/patches/0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:58:09 -0300 -Subject: [PATCH 17/65] Find a better home for the management TLV ID helper +Subject: [PATCH 17/67] Find a better home for the management TLV ID helper function. Signed-off-by: Richard Cochran diff --git a/base/linuxptp/debian/bullseye/patches/0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch b/base/linuxptp/debian/bullseye/patches/0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch index 4facd914a..0f0b1e693 100644 --- a/base/linuxptp/debian/bullseye/patches/0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch +++ b/base/linuxptp/debian/bullseye/patches/0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 14:59:57 -0300 -Subject: [PATCH 18/65] Find a better home for the management TLV data helper +Subject: [PATCH 18/67] Find a better home for the management TLV data helper function. Signed-off-by: Richard Cochran diff --git a/base/linuxptp/debian/bullseye/patches/0019-Introduce-error-codes-for-the-run_pmc-method.patch b/base/linuxptp/debian/bullseye/patches/0019-Introduce-error-codes-for-the-run_pmc-method.patch index 5edd1b086..819176884 100644 --- a/base/linuxptp/debian/bullseye/patches/0019-Introduce-error-codes-for-the-run_pmc-method.patch +++ b/base/linuxptp/debian/bullseye/patches/0019-Introduce-error-codes-for-the-run_pmc-method.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:04:11 -0300 -Subject: [PATCH 19/65] Introduce error codes for the run_pmc method. +Subject: [PATCH 19/67] Introduce error codes for the run_pmc method. The run_pmc function is used by several of the PMC agent methods, but it breaks the pattern of returning zero on success. However, the user facing diff --git a/base/linuxptp/debian/bullseye/patches/0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch b/base/linuxptp/debian/bullseye/patches/0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch index 58a37b48c..a23323867 100644 --- a/base/linuxptp/debian/bullseye/patches/0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch +++ b/base/linuxptp/debian/bullseye/patches/0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:08:01 -0300 -Subject: [PATCH 20/65] pmc_agent: Convert the subscribe method into the +Subject: [PATCH 20/67] pmc_agent: Convert the subscribe method into the canonical form. This patch renames the function to have the module prefix and corrects the diff --git a/base/linuxptp/debian/bullseye/patches/0021-pmc_agent-Simplify-the-update-method.patch b/base/linuxptp/debian/bullseye/patches/0021-pmc_agent-Simplify-the-update-method.patch index 7821205aa..63f19720f 100644 --- a/base/linuxptp/debian/bullseye/patches/0021-pmc_agent-Simplify-the-update-method.patch +++ b/base/linuxptp/debian/bullseye/patches/0021-pmc_agent-Simplify-the-update-method.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:17:26 -0300 -Subject: [PATCH 21/65] pmc_agent: Simplify the update method. +Subject: [PATCH 21/67] pmc_agent: Simplify the update method. The main method that causes the PMC agent to update its status takes a flag that results in different behavior when push notifications are active. diff --git a/base/linuxptp/debian/bullseye/patches/0022-pmc_agent-Simplify-logic-in-update-method.patch b/base/linuxptp/debian/bullseye/patches/0022-pmc_agent-Simplify-logic-in-update-method.patch index 2096f4838..cb172d3ea 100644 --- a/base/linuxptp/debian/bullseye/patches/0022-pmc_agent-Simplify-logic-in-update-method.patch +++ b/base/linuxptp/debian/bullseye/patches/0022-pmc_agent-Simplify-logic-in-update-method.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:18:36 -0300 -Subject: [PATCH 22/65] pmc_agent: Simplify logic in update method. +Subject: [PATCH 22/67] pmc_agent: Simplify logic in update method. If the pmc pointer is not set, then there is no need to read the time only to later discard the result. This patch simplifies the flow by returning diff --git a/base/linuxptp/debian/bullseye/patches/0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch b/base/linuxptp/debian/bullseye/patches/0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch index 203d61b53..f5f256010 100644 --- a/base/linuxptp/debian/bullseye/patches/0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch +++ b/base/linuxptp/debian/bullseye/patches/0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:33:43 -0300 -Subject: [PATCH 23/65] pmc_agent: Remove bogus comparison between last update +Subject: [PATCH 23/67] pmc_agent: Remove bogus comparison between last update and now. The monotonic clock can never go backwards. If you take T1 and later T2 diff --git a/base/linuxptp/debian/bullseye/patches/0024-pmc_agent-Perform-time-comparison-using-positive-log.patch b/base/linuxptp/debian/bullseye/patches/0024-pmc_agent-Perform-time-comparison-using-positive-log.patch index 3c19158c7..4c964a1fe 100644 --- a/base/linuxptp/debian/bullseye/patches/0024-pmc_agent-Perform-time-comparison-using-positive-log.patch +++ b/base/linuxptp/debian/bullseye/patches/0024-pmc_agent-Perform-time-comparison-using-positive-log.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:35:23 -0300 -Subject: [PATCH 24/65] pmc_agent: Perform time comparison using positive +Subject: [PATCH 24/67] pmc_agent: Perform time comparison using positive logic. In the update_pmc_node() method, reduce the expression diff --git a/base/linuxptp/debian/bullseye/patches/0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch b/base/linuxptp/debian/bullseye/patches/0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch index 41a7047d9..c5fac694e 100644 --- a/base/linuxptp/debian/bullseye/patches/0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch +++ b/base/linuxptp/debian/bullseye/patches/0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:36:38 -0300 -Subject: [PATCH 25/65] pmc_agent: Rename the update method and attempt to +Subject: [PATCH 25/67] pmc_agent: Rename the update method and attempt to document it. This patch renames the function to have the module prefix and tries to diff --git a/base/linuxptp/debian/bullseye/patches/0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch b/base/linuxptp/debian/bullseye/patches/0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch index 103989ea5..8f199cda0 100644 --- a/base/linuxptp/debian/bullseye/patches/0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch +++ b/base/linuxptp/debian/bullseye/patches/0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 15:37:46 -0300 -Subject: [PATCH 26/65] phc2sys: Fix null pointer de-reference in manual mode. +Subject: [PATCH 26/67] phc2sys: Fix null pointer de-reference in manual mode. If both the -w and -O command line options are specified (or when using -w when both source and destination clocks are PHCs), then diff --git a/base/linuxptp/debian/bullseye/patches/0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch b/base/linuxptp/debian/bullseye/patches/0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch index acffe81e2..df962d796 100644 --- a/base/linuxptp/debian/bullseye/patches/0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch +++ b/base/linuxptp/debian/bullseye/patches/0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:20:04 -0300 -Subject: [PATCH 27/65] pmc_agent: Convert the method that queries TAI-UTC +Subject: [PATCH 27/67] pmc_agent: Convert the method that queries TAI-UTC offset into the canonical form. This patch renames the function to have the module prefix and corrects the diff --git a/base/linuxptp/debian/bullseye/patches/0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch b/base/linuxptp/debian/bullseye/patches/0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch index 958840413..3e0fe268f 100644 --- a/base/linuxptp/debian/bullseye/patches/0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch +++ b/base/linuxptp/debian/bullseye/patches/0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:23:29 -0300 -Subject: [PATCH 28/65] pmc_agent: Convert the method that queries the port +Subject: [PATCH 28/67] pmc_agent: Convert the method that queries the port properties. Prefix the function with the module name and correct the return code diff --git a/base/linuxptp/debian/bullseye/patches/0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch b/base/linuxptp/debian/bullseye/patches/0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch index 4086cd762..3e7306d23 100644 --- a/base/linuxptp/debian/bullseye/patches/0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch +++ b/base/linuxptp/debian/bullseye/patches/0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:29:30 -0300 -Subject: [PATCH 29/65] pmc_agent: Generalize the method that queries the +Subject: [PATCH 29/67] pmc_agent: Generalize the method that queries the local clock identity. When started in automatic mode, the phc2sys program first queries the diff --git a/base/linuxptp/debian/bullseye/patches/0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch b/base/linuxptp/debian/bullseye/patches/0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch index d2c2464b7..41b3833ab 100644 --- a/base/linuxptp/debian/bullseye/patches/0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch +++ b/base/linuxptp/debian/bullseye/patches/0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:30:57 -0300 -Subject: [PATCH 30/65] pmc_agent: Simplify the method that gets of the number +Subject: [PATCH 30/67] pmc_agent: Simplify the method that gets of the number of local ports. The number of ports is already available in the cached default data diff --git a/base/linuxptp/debian/bullseye/patches/0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch b/base/linuxptp/debian/bullseye/patches/0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch index ac378eb70..3c1571967 100644 --- a/base/linuxptp/debian/bullseye/patches/0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch +++ b/base/linuxptp/debian/bullseye/patches/0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:32:27 -0300 -Subject: [PATCH 31/65] pmc_agent: Let the update method poll for push events. +Subject: [PATCH 31/67] pmc_agent: Let the update method poll for push events. Signed-off-by: Richard Cochran diff --git a/base/linuxptp/debian/bullseye/patches/0032-phc2sys-Fix-regression-in-the-automatic-mode.patch b/base/linuxptp/debian/bullseye/patches/0032-phc2sys-Fix-regression-in-the-automatic-mode.patch index 2243c4b8f..97c677ad7 100644 --- a/base/linuxptp/debian/bullseye/patches/0032-phc2sys-Fix-regression-in-the-automatic-mode.patch +++ b/base/linuxptp/debian/bullseye/patches/0032-phc2sys-Fix-regression-in-the-automatic-mode.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:51:10 -0300 -Subject: [PATCH 32/65] phc2sys: Fix regression in the automatic mode. +Subject: [PATCH 32/67] phc2sys: Fix regression in the automatic mode. Commit ac7d69bbc476 ("pmc_agent: Convert the method that queries the port properties.") had the well meant intention of the cleaning up the diff --git a/base/linuxptp/debian/bullseye/patches/0033-Implement-push-notification-for-TIME_STATUS_NP.patch b/base/linuxptp/debian/bullseye/patches/0033-Implement-push-notification-for-TIME_STATUS_NP.patch index c49c4e725..2261a7952 100644 --- a/base/linuxptp/debian/bullseye/patches/0033-Implement-push-notification-for-TIME_STATUS_NP.patch +++ b/base/linuxptp/debian/bullseye/patches/0033-Implement-push-notification-for-TIME_STATUS_NP.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 17:57:11 -0300 -Subject: [PATCH 33/65] Implement push notification for TIME_STATUS_NP +Subject: [PATCH 33/67] Implement push notification for TIME_STATUS_NP Subscribers to NOTIFY_TIME_SYNC will be notified on every clock synchronization. diff --git a/base/linuxptp/debian/bullseye/patches/0034-clock-Rename-UDS-variables-to-read-write.patch b/base/linuxptp/debian/bullseye/patches/0034-clock-Rename-UDS-variables-to-read-write.patch index 8b123aae4..59827d135 100644 --- a/base/linuxptp/debian/bullseye/patches/0034-clock-Rename-UDS-variables-to-read-write.patch +++ b/base/linuxptp/debian/bullseye/patches/0034-clock-Rename-UDS-variables-to-read-write.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 18:16:31 -0300 -Subject: [PATCH 34/65] clock: Rename UDS variables to read-write. +Subject: [PATCH 34/67] clock: Rename UDS variables to read-write. In preparation for a new read-only UDS port, rename variables of the current UDS port to make it clear it is read-write, as opposed to diff --git a/base/linuxptp/debian/bullseye/patches/0035-clock-Add-read-only-UDS-port-for-monitoring.patch b/base/linuxptp/debian/bullseye/patches/0035-clock-Add-read-only-UDS-port-for-monitoring.patch index 5117bb15e..36eb33ed8 100644 --- a/base/linuxptp/debian/bullseye/patches/0035-clock-Add-read-only-UDS-port-for-monitoring.patch +++ b/base/linuxptp/debian/bullseye/patches/0035-clock-Add-read-only-UDS-port-for-monitoring.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 18:18:29 -0300 -Subject: [PATCH 35/65] clock: Add read-only UDS port for monitoring. +Subject: [PATCH 35/67] clock: Add read-only UDS port for monitoring. Add a second UDS port to allow untrusted applications to monitor ptp4l. On this "read-only" UDS port disable non-GET actions and forwarding. diff --git a/base/linuxptp/debian/bullseye/patches/0036-Rename-management-ID-macros.patch b/base/linuxptp/debian/bullseye/patches/0036-Rename-management-ID-macros.patch index 839fc3a80..9c131c6aa 100644 --- a/base/linuxptp/debian/bullseye/patches/0036-Rename-management-ID-macros.patch +++ b/base/linuxptp/debian/bullseye/patches/0036-Rename-management-ID-macros.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 12 Jun 2023 18:20:50 -0300 -Subject: [PATCH 36/65] Rename management ID macros. +Subject: [PATCH 36/67] Rename management ID macros. The management ID macros are prefixed with TLV. This is confusing, because the true TLV tags have the same prefix. Make the code more diff --git a/base/linuxptp/debian/bullseye/patches/0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch b/base/linuxptp/debian/bullseye/patches/0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch index 112c1e242..76267b0a4 100644 --- a/base/linuxptp/debian/bullseye/patches/0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch +++ b/base/linuxptp/debian/bullseye/patches/0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Sun, 18 Jun 2023 20:58:34 -0300 -Subject: [PATCH 37/65] Enhance phc2sys to accept multiple ptp4l inputs +Subject: [PATCH 37/67] Enhance phc2sys to accept multiple ptp4l inputs A new configuration option called ha_enabled was created. When it is set 1 multiple ptp4l inputs are accepted and the high availability algorithms diff --git a/base/linuxptp/debian/bullseye/patches/0038-Best-source-selection-algorithm.patch b/base/linuxptp/debian/bullseye/patches/0038-Best-source-selection-algorithm.patch index b5afefd80..052d50837 100644 --- a/base/linuxptp/debian/bullseye/patches/0038-Best-source-selection-algorithm.patch +++ b/base/linuxptp/debian/bullseye/patches/0038-Best-source-selection-algorithm.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Tue, 4 Jul 2023 17:27:50 -0300 -Subject: [PATCH 38/65] Best source selection algorithm +Subject: [PATCH 38/67] Best source selection algorithm An algorithm to select the best available clock and use it as clock source. diff --git a/base/linuxptp/debian/bullseye/patches/0039-Select-best-source-clock-after-state-changes.patch b/base/linuxptp/debian/bullseye/patches/0039-Select-best-source-clock-after-state-changes.patch index a99919526..afb6fa3eb 100644 --- a/base/linuxptp/debian/bullseye/patches/0039-Select-best-source-clock-after-state-changes.patch +++ b/base/linuxptp/debian/bullseye/patches/0039-Select-best-source-clock-after-state-changes.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Sat, 8 Jul 2023 19:02:50 -0300 -Subject: [PATCH 39/65] Select best source clock after state changes +Subject: [PATCH 39/67] Select best source clock after state changes During operation, the clock states might change and require a new clock to be selected. For example, the local clock class of the current active diff --git a/base/linuxptp/debian/bullseye/patches/0040-Forced-lock-a-clock-source-in-configuration.patch b/base/linuxptp/debian/bullseye/patches/0040-Forced-lock-a-clock-source-in-configuration.patch index 3c54fffb7..da436a134 100644 --- a/base/linuxptp/debian/bullseye/patches/0040-Forced-lock-a-clock-source-in-configuration.patch +++ b/base/linuxptp/debian/bullseye/patches/0040-Forced-lock-a-clock-source-in-configuration.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Wed, 26 Jul 2023 15:08:15 -0300 -Subject: [PATCH 40/65] Forced lock a clock source in configuration +Subject: [PATCH 40/67] Forced lock a clock source in configuration To help on maintenance and debuging tasks was implemented a configuration to forced lock to a single clock. It disables the automatic clock diff --git a/base/linuxptp/debian/bullseye/patches/0041-HA-phc2sys-com-socket.patch b/base/linuxptp/debian/bullseye/patches/0041-HA-phc2sys-com-socket.patch index c6cec63af..bbb8549d2 100644 --- a/base/linuxptp/debian/bullseye/patches/0041-HA-phc2sys-com-socket.patch +++ b/base/linuxptp/debian/bullseye/patches/0041-HA-phc2sys-com-socket.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Thu, 27 Jul 2023 14:22:47 -0300 -Subject: [PATCH 41/65] HA phc2sys com socket +Subject: [PATCH 41/67] HA phc2sys com socket A new communication path was created to retrieve status and to control the high availability algorithm. diff --git a/base/linuxptp/debian/bullseye/patches/0042-Commands-enable-lock-and-disable-lock.patch b/base/linuxptp/debian/bullseye/patches/0042-Commands-enable-lock-and-disable-lock.patch index d54225ead..45a3e5af7 100644 --- a/base/linuxptp/debian/bullseye/patches/0042-Commands-enable-lock-and-disable-lock.patch +++ b/base/linuxptp/debian/bullseye/patches/0042-Commands-enable-lock-and-disable-lock.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Fri, 4 Aug 2023 15:44:12 -0300 -Subject: [PATCH 42/65] Commands 'enable lock' and 'disable lock. +Subject: [PATCH 42/67] Commands 'enable lock' and 'disable lock. The 'enable lock' command is used to lock to a single clock source and disable the HA clock selection algorithm. The diff --git a/base/linuxptp/debian/bullseye/patches/0043-Commands-enable-source-and-disable-source.patch b/base/linuxptp/debian/bullseye/patches/0043-Commands-enable-source-and-disable-source.patch index 95500ee9a..6c9e9b058 100644 --- a/base/linuxptp/debian/bullseye/patches/0043-Commands-enable-source-and-disable-source.patch +++ b/base/linuxptp/debian/bullseye/patches/0043-Commands-enable-source-and-disable-source.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Fri, 4 Aug 2023 19:01:57 -0300 -Subject: [PATCH 43/65] Commands 'enable source' and 'disable source'. +Subject: [PATCH 43/67] Commands 'enable source' and 'disable source'. These commands controls the list of clocks available to clock selection algorithm. diff --git a/base/linuxptp/debian/bullseye/patches/0044-Stream-type-phc2sys-com-socket.patch b/base/linuxptp/debian/bullseye/patches/0044-Stream-type-phc2sys-com-socket.patch index 784a61a68..133a815f9 100644 --- a/base/linuxptp/debian/bullseye/patches/0044-Stream-type-phc2sys-com-socket.patch +++ b/base/linuxptp/debian/bullseye/patches/0044-Stream-type-phc2sys-com-socket.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 7 Aug 2023 14:55:12 -0300 -Subject: [PATCH 44/65] Stream type phc2sys com socket +Subject: [PATCH 44/67] Stream type phc2sys com socket The type of the socket was changed from datagram to stream. diff --git a/base/linuxptp/debian/bullseye/patches/0045-Functions-starts_with-and-str_at_column.patch b/base/linuxptp/debian/bullseye/patches/0045-Functions-starts_with-and-str_at_column.patch index 734d98dfa..b140946a8 100644 --- a/base/linuxptp/debian/bullseye/patches/0045-Functions-starts_with-and-str_at_column.patch +++ b/base/linuxptp/debian/bullseye/patches/0045-Functions-starts_with-and-str_at_column.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Tue, 8 Aug 2023 13:10:50 -0300 -Subject: [PATCH 45/65] Functions starts_with and str_at_column +Subject: [PATCH 45/67] Functions starts_with and str_at_column Renaming starts_with and str_at_column functions to match ptp4l code style. diff --git a/base/linuxptp/debian/bullseye/patches/0046-Robustness-improvements-to-phc2sys-socket.patch b/base/linuxptp/debian/bullseye/patches/0046-Robustness-improvements-to-phc2sys-socket.patch index 0fb5e77c2..a088b3390 100644 --- a/base/linuxptp/debian/bullseye/patches/0046-Robustness-improvements-to-phc2sys-socket.patch +++ b/base/linuxptp/debian/bullseye/patches/0046-Robustness-improvements-to-phc2sys-socket.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Tue, 8 Aug 2023 14:06:55 -0300 -Subject: [PATCH 46/65] Robustness improvements to phc2sys socket +Subject: [PATCH 46/67] Robustness improvements to phc2sys socket When phc2sys abnormally exits the socket file might remain created. To avoid error when phc2sys is relaunched, the exixting file is diff --git a/base/linuxptp/debian/bullseye/patches/0047-phc2sys-without-w-option.patch b/base/linuxptp/debian/bullseye/patches/0047-phc2sys-without-w-option.patch index 233bc0437..84910858c 100644 --- a/base/linuxptp/debian/bullseye/patches/0047-phc2sys-without-w-option.patch +++ b/base/linuxptp/debian/bullseye/patches/0047-phc2sys-without-w-option.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 7 Aug 2023 18:19:37 -0300 -Subject: [PATCH 47/65] phc2sys without -w option. +Subject: [PATCH 47/67] phc2sys without -w option. Fix bad clock and pmc initialization when -w command argument is not provided. diff --git a/base/linuxptp/debian/bullseye/patches/0048-HA-domain-number.patch b/base/linuxptp/debian/bullseye/patches/0048-HA-domain-number.patch index 3801f1870..b01fa920e 100644 --- a/base/linuxptp/debian/bullseye/patches/0048-HA-domain-number.patch +++ b/base/linuxptp/debian/bullseye/patches/0048-HA-domain-number.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 21 Aug 2023 14:28:20 -0300 -Subject: [PATCH 48/65] HA domain number +Subject: [PATCH 48/67] HA domain number Support multiple domain numbers for each uds socket used in HA phc2sys. diff --git a/base/linuxptp/debian/bullseye/patches/0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch b/base/linuxptp/debian/bullseye/patches/0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch index faa95b8aa..030fc4677 100644 --- a/base/linuxptp/debian/bullseye/patches/0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch +++ b/base/linuxptp/debian/bullseye/patches/0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Wed, 23 Aug 2023 19:18:08 -0300 -Subject: [PATCH 49/65] GM clock accuracy and offset scaled log variance +Subject: [PATCH 49/67] GM clock accuracy and offset scaled log variance Include GM clock quality parameters clock accuracy and offset scaled log variance to the clock selection algorithm. Those diff --git a/base/linuxptp/debian/bullseye/patches/0050-Select-matching-requirements-clock-if-active-doesn-t.patch b/base/linuxptp/debian/bullseye/patches/0050-Select-matching-requirements-clock-if-active-doesn-t.patch index d78b57799..96205ddc2 100644 --- a/base/linuxptp/debian/bullseye/patches/0050-Select-matching-requirements-clock-if-active-doesn-t.patch +++ b/base/linuxptp/debian/bullseye/patches/0050-Select-matching-requirements-clock-if-active-doesn-t.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Tue, 29 Aug 2023 19:06:23 -0300 -Subject: [PATCH 50/65] Select matching requirements clock if active doesn't +Subject: [PATCH 50/67] Select matching requirements clock if active doesn't match them Fix clock selection algorithm behavior where a clock source starts diff --git a/base/linuxptp/debian/bullseye/patches/0051-Time-traceable-flag.patch b/base/linuxptp/debian/bullseye/patches/0051-Time-traceable-flag.patch index 175fbaf87..7771e7d48 100644 --- a/base/linuxptp/debian/bullseye/patches/0051-Time-traceable-flag.patch +++ b/base/linuxptp/debian/bullseye/patches/0051-Time-traceable-flag.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Wed, 30 Aug 2023 13:28:34 -0300 -Subject: [PATCH 51/65] Time traceable flag +Subject: [PATCH 51/67] Time traceable flag A new time traceable flag was added to pmc agent to store the current time traceable status. diff --git a/base/linuxptp/debian/bullseye/patches/0052-Command-valid-sources.patch b/base/linuxptp/debian/bullseye/patches/0052-Command-valid-sources.patch index fa14ae580..7b4501f61 100644 --- a/base/linuxptp/debian/bullseye/patches/0052-Command-valid-sources.patch +++ b/base/linuxptp/debian/bullseye/patches/0052-Command-valid-sources.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Wed, 30 Aug 2023 15:43:42 -0300 -Subject: [PATCH 52/65] Command 'valid sources' +Subject: [PATCH 52/67] Command 'valid sources' The 'valid sources' command is used to get a list of interfaces which the clock is matching the requirements. The response contains a space diff --git a/base/linuxptp/debian/bullseye/patches/0053-GM-time-traceable-check-enabled-by-default.patch b/base/linuxptp/debian/bullseye/patches/0053-GM-time-traceable-check-enabled-by-default.patch index 382c28e11..1fed6ef98 100644 --- a/base/linuxptp/debian/bullseye/patches/0053-GM-time-traceable-check-enabled-by-default.patch +++ b/base/linuxptp/debian/bullseye/patches/0053-GM-time-traceable-check-enabled-by-default.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Thu, 31 Aug 2023 12:36:02 -0300 -Subject: [PATCH 53/65] GM time traceable check enabled by default +Subject: [PATCH 53/67] GM time traceable check enabled by default Now the GM time traceable check is enabled by default as it is an important check for both T-GM and T-BC scenarios. diff --git a/base/linuxptp/debian/bullseye/patches/0054-Disable-active-interface-failing.patch b/base/linuxptp/debian/bullseye/patches/0054-Disable-active-interface-failing.patch index bc9d5ad70..b9c60d043 100644 --- a/base/linuxptp/debian/bullseye/patches/0054-Disable-active-interface-failing.patch +++ b/base/linuxptp/debian/bullseye/patches/0054-Disable-active-interface-failing.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Thu, 31 Aug 2023 16:05:15 -0300 -Subject: [PATCH 54/65] Disable active interface failing +Subject: [PATCH 54/67] Disable active interface failing Fixed the behavior when none clock is matching the requirements and the active clock source is disabled using the 'disable source ' diff --git a/base/linuxptp/debian/bullseye/patches/0055-Ignore-interface-in-conf-file-when-HA-is-disabled.patch b/base/linuxptp/debian/bullseye/patches/0055-Ignore-interface-in-conf-file-when-HA-is-disabled.patch index 7e644126e..6965d6ac0 100644 --- a/base/linuxptp/debian/bullseye/patches/0055-Ignore-interface-in-conf-file-when-HA-is-disabled.patch +++ b/base/linuxptp/debian/bullseye/patches/0055-Ignore-interface-in-conf-file-when-HA-is-disabled.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Thu, 4 Jan 2024 13:27:09 -0300 -Subject: [PATCH 55/65] Ignore interface in conf file when HA is disabled +Subject: [PATCH 55/67] Ignore interface in conf file when HA is disabled Fixed the behavior when HA is disabled, one interface has been configured and '-a' autoconfiguration option is enabled. The behavior before HA feature was diff --git a/base/linuxptp/debian/bullseye/patches/0056-Fixed-event-port-id-map.patch b/base/linuxptp/debian/bullseye/patches/0056-Fixed-event-port-id-map.patch index 2de0a7977..be62357d7 100644 --- a/base/linuxptp/debian/bullseye/patches/0056-Fixed-event-port-id-map.patch +++ b/base/linuxptp/debian/bullseye/patches/0056-Fixed-event-port-id-map.patch @@ -1,6 +1,6 @@ From: Andre Mauricio Zelak Date: Mon, 15 Jan 2024 16:19:59 -0300 -Subject: [PATCH 56/65] Fixed event port id map +Subject: [PATCH 56/67] Fixed event port id map Fixed the port id map in the Port Data Set event handling. The port id is composed by port number and node index after the HA implementation. diff --git a/base/linuxptp/debian/bullseye/patches/0057-Fix-uninitialized-variable-in-nmea_scan_rmc.patch b/base/linuxptp/debian/bullseye/patches/0057-Fix-uninitialized-variable-in-nmea_scan_rmc.patch index e4a69dfde..bc72b039b 100644 --- a/base/linuxptp/debian/bullseye/patches/0057-Fix-uninitialized-variable-in-nmea_scan_rmc.patch +++ b/base/linuxptp/debian/bullseye/patches/0057-Fix-uninitialized-variable-in-nmea_scan_rmc.patch @@ -1,6 +1,6 @@ From: cwalker Date: Fri, 1 Mar 2024 17:50:29 +0000 -Subject: [PATCH 57/65] Fix uninitialized variable in nmea_scan_rmc +Subject: [PATCH 57/67] Fix uninitialized variable in nmea_scan_rmc Initialize the tm_isdst variable to ensure that mktime does not fail on recent versions of glibc. diff --git a/base/linuxptp/debian/bullseye/patches/0058-ts2phc-skip-updates-after-offset-spike.patch b/base/linuxptp/debian/bullseye/patches/0058-ts2phc-skip-updates-after-offset-spike.patch index af7990251..c6c32b2e6 100644 --- a/base/linuxptp/debian/bullseye/patches/0058-ts2phc-skip-updates-after-offset-spike.patch +++ b/base/linuxptp/debian/bullseye/patches/0058-ts2phc-skip-updates-after-offset-spike.patch @@ -1,6 +1,6 @@ From: cwalker Date: Tue, 20 Feb 2024 17:25:17 +0000 -Subject: [PATCH 58/65] Implement logic to skip updates with offset spike. +Subject: [PATCH 58/67] Implement logic to skip updates with offset spike. This change allows ts2phc to be configured to ignore timing updates that have a large offset spike in order to mitigate the resulting timing diff --git a/base/linuxptp/debian/bullseye/patches/0059-clock-Downgrade-log-message-about-failed-uds-forward.patch b/base/linuxptp/debian/bullseye/patches/0059-clock-Downgrade-log-message-about-failed-uds-forward.patch index b443a5b5a..2fc13a991 100644 --- a/base/linuxptp/debian/bullseye/patches/0059-clock-Downgrade-log-message-about-failed-uds-forward.patch +++ b/base/linuxptp/debian/bullseye/patches/0059-clock-Downgrade-log-message-about-failed-uds-forward.patch @@ -1,6 +1,6 @@ From: Cole Walker Date: Wed, 1 May 2024 17:56:14 +0000 -Subject: [PATCH 59/65] clock: Downgrade log message about failed uds forward. +Subject: [PATCH 59/67] clock: Downgrade log message about failed uds forward. If multiple management clients are used in the network and ptp4l responded at least once over UDS, it will try to forward all management diff --git a/base/linuxptp/debian/bullseye/patches/0060-Fix-HA-clock-selection-of-priority-0-source.patch b/base/linuxptp/debian/bullseye/patches/0060-Fix-HA-clock-selection-of-priority-0-source.patch index 050b2b318..5964144d3 100644 --- a/base/linuxptp/debian/bullseye/patches/0060-Fix-HA-clock-selection-of-priority-0-source.patch +++ b/base/linuxptp/debian/bullseye/patches/0060-Fix-HA-clock-selection-of-priority-0-source.patch @@ -1,7 +1,7 @@ From 718853cf344bc6ebc17c06e7a6c82601d8d76365 Mon Sep 17 00:00:00 2001 From: Andre Mauricio Zelak Date: Thu, 10 Oct 2024 16:56:34 -0300 -Subject: [PATCH 60/65] Fix HA clock selection of priority 0 source +Subject: [PATCH 60/67] Fix HA clock selection of priority 0 source Fixed behavior where a clock set with ha_priority equal 0 is not select, even when it matches all the requirements. diff --git a/base/linuxptp/debian/bullseye/patches/0061-Fix-HA-clock-selection-algorithm.patch b/base/linuxptp/debian/bullseye/patches/0061-Fix-HA-clock-selection-algorithm.patch index 0678290e7..78eb700f3 100644 --- a/base/linuxptp/debian/bullseye/patches/0061-Fix-HA-clock-selection-algorithm.patch +++ b/base/linuxptp/debian/bullseye/patches/0061-Fix-HA-clock-selection-algorithm.patch @@ -1,7 +1,7 @@ From 06d3e581486cc8f931c8599e4b7b3faea3ddf64f Mon Sep 17 00:00:00 2001 From: Andre Mauricio Zelak Date: Wed, 16 Oct 2024 18:10:24 -0300 -Subject: [PATCH 61/65] Fix HA clock selection algorithm +Subject: [PATCH 61/67] Fix HA clock selection algorithm The issue reported is a particular case of a BC configured with redundant PTP clocks with same priority. When a clock recovers diff --git a/base/linuxptp/debian/bullseye/patches/0062-Fix-HA-clock-selection-when-poll-timeout.patch b/base/linuxptp/debian/bullseye/patches/0062-Fix-HA-clock-selection-when-poll-timeout.patch index ab0e20a33..ac1ce93f0 100644 --- a/base/linuxptp/debian/bullseye/patches/0062-Fix-HA-clock-selection-when-poll-timeout.patch +++ b/base/linuxptp/debian/bullseye/patches/0062-Fix-HA-clock-selection-when-poll-timeout.patch @@ -1,6 +1,6 @@ From: Tara Subedi Date: Mon Apr 21 13:43:49 2025 -0400 -Subject: [PATCH 62/65] Fix HA clock selection when poll timeout +Subject: [PATCH 62/67] Fix HA clock selection when poll timeout PTP HA phc2sys not switching over when primary ptp instance is down diff --git a/base/linuxptp/debian/bullseye/patches/0063-smooth-transparent-ha-switchover-configurable-pmc-update-interval.patch b/base/linuxptp/debian/bullseye/patches/0063-smooth-transparent-ha-switchover-configurable-pmc-update-interval.patch index e7b5367fa..0da667d97 100644 --- a/base/linuxptp/debian/bullseye/patches/0063-smooth-transparent-ha-switchover-configurable-pmc-update-interval.patch +++ b/base/linuxptp/debian/bullseye/patches/0063-smooth-transparent-ha-switchover-configurable-pmc-update-interval.patch @@ -1,6 +1,6 @@ From: Tara Subedi Date: Mon Apr 28 13:12:23 2025 -0400 -Subject: [PATCH 63/65] Smooth/Transparent HA Switchover - Configurable Pmc Update Interval +Subject: [PATCH 63/67] Smooth/Transparent HA Switchover - Configurable Pmc Update Interval PTP: smooth/transparent HA switchover diff --git a/base/linuxptp/debian/bullseye/patches/0064-Fix-HA-PTP4l-instance-down-osclock-swinging.patch b/base/linuxptp/debian/bullseye/patches/0064-Fix-HA-PTP4l-instance-down-osclock-swinging.patch index 3d2fd5b50..334f6ef25 100644 --- a/base/linuxptp/debian/bullseye/patches/0064-Fix-HA-PTP4l-instance-down-osclock-swinging.patch +++ b/base/linuxptp/debian/bullseye/patches/0064-Fix-HA-PTP4l-instance-down-osclock-swinging.patch @@ -1,6 +1,6 @@ From: Tara Subedi Date: Thu May 8 16:28:05 2025 -0400 -Subject: [PATCH 64/65] Fix HA PTP4l instance down osclock swinging +Subject: [PATCH 64/67] Fix HA PTP4l instance down osclock swinging PTP Redundant T-BC, when one ptp4l instance is down, os clock is swinging diff --git a/base/linuxptp/debian/bullseye/patches/0065-Fix-osclock-swinging-when-pmc-timeout.patch b/base/linuxptp/debian/bullseye/patches/0065-Fix-osclock-swinging-when-pmc-timeout.patch index c53190e30..b78cca1a2 100644 --- a/base/linuxptp/debian/bullseye/patches/0065-Fix-osclock-swinging-when-pmc-timeout.patch +++ b/base/linuxptp/debian/bullseye/patches/0065-Fix-osclock-swinging-when-pmc-timeout.patch @@ -1,6 +1,6 @@ From: Tara Subedi Date: Tue Jun 17 11:15:26 2025 -0400 -Subject: [PATCH 65/65] Fix osclock swinging when pmc timeout +Subject: [PATCH 65/67] Fix osclock swinging when pmc timeout Phc2sys error 'timeout reading pmc tpd' causes rms spike diff --git a/base/linuxptp/debian/bullseye/patches/0066-ts2phc-Add-serial-baudrate-option.patch b/base/linuxptp/debian/bullseye/patches/0066-ts2phc-Add-serial-baudrate-option.patch index d17a5bc11..3e46313c7 100644 --- a/base/linuxptp/debian/bullseye/patches/0066-ts2phc-Add-serial-baudrate-option.patch +++ b/base/linuxptp/debian/bullseye/patches/0066-ts2phc-Add-serial-baudrate-option.patch @@ -1,7 +1,7 @@ From 47c9a2d35d567e7f4e87d2c01872fa1cce3c20b2 Mon Sep 17 00:00:00 2001 From: Lars Munch Date: Fri, 14 May 2021 13:33:44 +0200 -Subject: [PATCH] ts2phc: Add serial baudrate option +Subject: [PATCH 66/67] ts2phc: Add serial baudrate option Add serial baudrate configuration option. Default to 9600 bps. diff --git a/base/linuxptp/debian/bullseye/patches/0067-phc2sys-Downgrade-log-message-timeout-read-pmc.patch b/base/linuxptp/debian/bullseye/patches/0067-phc2sys-Downgrade-log-message-timeout-read-pmc.patch new file mode 100644 index 000000000..3c254141b --- /dev/null +++ b/base/linuxptp/debian/bullseye/patches/0067-phc2sys-Downgrade-log-message-timeout-read-pmc.patch @@ -0,0 +1,68 @@ +From dddf10a2ef385881b07ee6126c7c8d6166179583 Mon Sep 17 00:00:00 2001 +From: Andre Mauricio Zelak +Date: Thu, 20 Nov 2025 22:49:58 -0300 +Subject: [PATCH 67/67] phc2sys: Downgrade log message about timeout reading pmc dds, + tpd and pds + +Depending upon system load, the read pmc call can timeout. When +it happens the corresponding data set is reset, allowing the HA +algorithm to switch over the current source. + +Although the read timeout is undesirable, the error message is +misleading because the failure is mitigated. Downgrade the error +message to notice to disable it in the default log level. + +Test Plan: +PASS: Deploy T-BC with single PTP4L instance + - Load system (stress -c 64 -m 5 -t 60) + check user.log, phc2sys not showing the error message + phc2sys: notice [1200995.017] phc-inst2 pmc agent index 0, timeout reading pmc tpd + +PASS: Deploy T-BC with single PTP4L instance + - Adjust the log to debug level + system ptp-instance-parameter-add phc-inst2 logging_level=7 + - Load system (stress -c 64 -m 5 -t 60) + check user.log, phc2sys eventually shows the error message + phc2sys: notice [1215208.628] phc-inst2 pmc agent index 0, timeout reading pmc tpd + +Closes-Bug: 2132273 + +Signed-off-by: Andre Mauricio Zelak +--- + pmc_agent.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/pmc_agent.c b/pmc_agent.c +index 979b52d..1dc9aef 100644 +--- a/pmc_agent.c ++++ b/pmc_agent.c +@@ -281,7 +281,7 @@ int pmc_agent_query_dds(struct pmc_agent *node, int timeout) + if (is_run_pmc_error(res)) { + // When there is timeout, treat dds data as invalid and reset too + if (res == RUN_PMC_TMO) { +- pr_err("pmc agent index %d, timeout reading pmc dds", node->index); ++ pr_notice("pmc agent index %d, timeout reading pmc dds", node->index); + if (node->dds_valid == true) { + node->dds_valid = false; + // reset values, when read don't present last time read values +@@ -364,7 +364,7 @@ int pmc_agent_query_utc_offset(struct pmc_agent *node, int timeout) + // cause swing while updating clock. Single timeout should not punish + // clock with swinging by TAI-UTC 37s offset. + if (res == RUN_PMC_TMO) { +- pr_err("pmc agent index %d, timeout reading pmc tpd", node->index); ++ pr_notice("pmc agent index %d, timeout reading pmc tpd", node->index); + /* save current state */ + time_traceable = node->time_traceable; + freq_traceable = node->freq_traceable; +@@ -434,7 +434,7 @@ int pmc_agent_query_pds(struct pmc_agent *node, int timeout) + if (is_run_pmc_error(res)) { + // When there is timeout error, treat pds data as invalid and reset too + if (res == RUN_PMC_TMO) { +- pr_err("pmc agent index %d, timeout reading pmc pds", node->index); ++ pr_notice("pmc agent index %d, timeout reading pmc pds", node->index); + if (node->pds_valid == true) { + node->pds_valid = false; + // reset values, when read don't present last time read values +-- +2.34.1 + diff --git a/base/linuxptp/debian/bullseye/patches/series b/base/linuxptp/debian/bullseye/patches/series index 5e58b908f..3fc6c71a4 100644 --- a/base/linuxptp/debian/bullseye/patches/series +++ b/base/linuxptp/debian/bullseye/patches/series @@ -64,3 +64,4 @@ 0064-Fix-HA-PTP4l-instance-down-osclock-swinging.patch 0065-Fix-osclock-swinging-when-pmc-timeout.patch 0066-ts2phc-Add-serial-baudrate-option.patch +0067-phc2sys-Downgrade-log-message-timeout-read-pmc.patch