[PATCH][SRU][OEM-5.14] thunderbolt: Enable retry logic for intra-domain control packets
Alex Hung
alex.hung at canonical.com
Sat Oct 9 02:06:37 UTC 2021
From: Sanjay R Mehta <sanju.mehta at amd.com>
BugLink: https://bugs.launchpad.net/bugs/1945361
In case of software connection manager, the response packets are lost
sometimes within the stipulated time. Hence resending the control
packets in such scenario by increasing the retry count TB_CTL_RETRIES
value.
Signed-off-by: Sanjay R Mehta <sanju.mehta at amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
(cherry picked from commit 641cdbea7635be3a177dbdf81356ccb16f3769e3 linux-next)
Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
drivers/thunderbolt/ctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c
index 0fb5e04..4986edf 100644
--- a/drivers/thunderbolt/ctl.c
+++ b/drivers/thunderbolt/ctl.c
@@ -17,7 +17,7 @@
#define TB_CTL_RX_PKG_COUNT 10
-#define TB_CTL_RETRIES 1
+#define TB_CTL_RETRIES 4
/**
* struct tb_ctl - Thunderbolt control channel
--
2.7.4
More information about the kernel-team
mailing list