integ/base/linuxptp/centos/meta_patches/0002-STX-patches-for-default_sync-and-BC-performance.patch
Douglas Henrique Koerich 0a9b0570e9 Don't exit when reading of PHC fails with EBUSY
Pull in the following upstream commits for both CentOS and Debian:
7824b13db9/
270709323a/
dadd2593c7/
e8dc364f9f/
See the patches themselves for more details.

Closes-Bug: 1983022
Signed-off-by: Douglas Henrique Koerich <douglashenrique.koerich@windriver.com>
Change-Id: I20f18b17752588b5b031eed88b5e52fb15c830fa
2022-08-02 13:19:14 -03:00

53 lines
1.8 KiB
Diff

From 51312938b7608b0d5bfff283360f0b9dc52c6ba8 Mon Sep 17 00:00:00 2001
Message-Id: <51312938b7608b0d5bfff283360f0b9dc52c6ba8.1630421052.git.Jim.Somerville@windriver.com>
In-Reply-To: <da79b26cb5749800112c38cb55b1135f78c3433a.1630421052.git.Jim.Somerville@windriver.com>
References: <da79b26cb5749800112c38cb55b1135f78c3433a.1630421052.git.Jim.Somerville@windriver.com>
From: Cole Walker <cole.walker@windriver.com>
Date: Wed, 23 Jun 2021 13:21:58 -0400
Subject: [PATCH 2/3] STX patches for default_sync and BC performance
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
---
SPECS/linuxptp.spec | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/SPECS/linuxptp.spec b/SPECS/linuxptp.spec
index 903eb79..e4c01a8 100644
--- a/SPECS/linuxptp.spec
+++ b/SPECS/linuxptp.spec
@@ -37,6 +37,18 @@ Patch7: linuxptp-manfix.patch
Patch8: linuxptp-fclose.patch
# fix handling of zero-length messages
Patch9: linuxptp-zerolength.patch
+# StarlingX
+Patch10: 0001-clock-Reset-state-when-switching-port-with-same-best.patch
+# StarlingX
+Patch11: 0002-clock-Reset-clock-check-on-best-clock-port-change.patch
+# StarlingX
+Patch12: 0003-port-Don-t-check-timestamps-from-non-slave-ports.patch
+# StarlingX
+Patch13: 0004-port-Don-t-renew-raw-transport.patch
+# StarlingX
+Patch14: 0005-clockcheck-Increase-minimum-interval.patch
+# StarlingX
+Patch15: 0006-Add-option-to-disable-default-port-selection-in-phc2.patch
BuildRequires: kernel-headers > 4.18.0-87
BuildRequires: systemd
@@ -60,6 +72,12 @@ Supporting legacy APIs and other platforms is not a goal.
%patch7 -p1 -b .manfix
%patch8 -p1 -b .fclose
%patch9 -p1 -b .zerolength
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
mv linuxptp-testsuite-%{testsuite_ver}* testsuite
mv clknetsim-%{clknetsim_ver}* testsuite/clknetsim
--
2.29.2