Files
integ/base/linuxptp/debian/bullseye/patches/series
Andre Mauricio Zelak 1fff0107f2 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

PASS: Build linuxptp package

Closes-Bug: 2132273

Change-Id: I3e05de4006c0e35b725178d9e56eaf8c72d52747
Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
2025-11-25 17:07:25 -03:00

68 lines
3.5 KiB
Plaintext

0001-clock-Reset-state-when-switching-port-with-same-best.patch
0002-clock-Reset-clock-check-on-best-clock-port-change.patch
0003-port-Don-t-check-timestamps-from-non-slave-ports.patch
0004-port-Don-t-renew-raw-transport.patch
0005-clockcheck-Increase-minimum-interval.patch
0006-Add-option-to-disable-default-port-selection-in-phc2.patch
0007-sysoff-Change-sysoff_measure-to-return-errno.patch
0008-sysoff-Change-log-level-of-ioctl-error-messages.patch
0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch
0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch
0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch
0012-phc2sys-make-PMC-functions-non-static.patch
0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch
0014-Introduce-the-PMC-agent-module.patch
0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch
0016-pmc_agent-Hide-the-implementation.patch
0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch
0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch
0019-Introduce-error-codes-for-the-run_pmc-method.patch
0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch
0021-pmc_agent-Simplify-the-update-method.patch
0022-pmc_agent-Simplify-logic-in-update-method.patch
0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch
0024-pmc_agent-Perform-time-comparison-using-positive-log.patch
0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch
0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch
0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch
0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch
0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch
0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch
0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch
0032-phc2sys-Fix-regression-in-the-automatic-mode.patch
0033-Implement-push-notification-for-TIME_STATUS_NP.patch
0034-clock-Rename-UDS-variables-to-read-write.patch
0035-clock-Add-read-only-UDS-port-for-monitoring.patch
0036-Rename-management-ID-macros.patch
0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch
0038-Best-source-selection-algorithm.patch
0039-Select-best-source-clock-after-state-changes.patch
0040-Forced-lock-a-clock-source-in-configuration.patch
0041-HA-phc2sys-com-socket.patch
0042-Commands-enable-lock-and-disable-lock.patch
0043-Commands-enable-source-and-disable-source.patch
0044-Stream-type-phc2sys-com-socket.patch
0045-Functions-starts_with-and-str_at_column.patch
0046-Robustness-improvements-to-phc2sys-socket.patch
0047-phc2sys-without-w-option.patch
0048-HA-domain-number.patch
0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch
0050-Select-matching-requirements-clock-if-active-doesn-t.patch
0051-Time-traceable-flag.patch
0052-Command-valid-sources.patch
0053-GM-time-traceable-check-enabled-by-default.patch
0054-Disable-active-interface-failing.patch
0055-Ignore-interface-in-conf-file-when-HA-is-disabled.patch
0056-Fixed-event-port-id-map.patch
0057-Fix-uninitialized-variable-in-nmea_scan_rmc.patch
0058-ts2phc-skip-updates-after-offset-spike.patch
0059-clock-Downgrade-log-message-about-failed-uds-forward.patch
0060-Fix-HA-clock-selection-of-priority-0-source.patch
0061-Fix-HA-clock-selection-algorithm.patch
0062-Fix-HA-clock-selection-when-poll-timeout.patch
0063-smooth-transparent-ha-switchover-configurable-pmc-update-interval.patch
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