Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.64
Manually rebased:
	generic/hack-6.6/780-usb-net-MeigLink_modem_support.patch
	bcm27xx/patches-6.6/950-0585-drm-vc4-Introduce-generation-number-enum.patch
	bcm27xx/patches-6.6/950-0610-drm-vc4-hvs-Support-BCM2712-HVS.patch
	bcm27xx/patches-6.6/950-0829-vc4-hvs-Add-support-for-D0-register-changes.patch
Removed upstreamed:
	bcm27xx/patches-6.6/950-0597-drm-vc4-hdmi-Avoid-hang-with-debug-registers-when-su.patch[1]
	bcm27xx/patches-6.6/950-0599-drm-vc4-Fix-dlist-debug-not-resetting-the-next-entry.patch[2]
	bcm27xx/patches-6.6/950-0600-drm-vc4-Remove-incorrect-limit-from-hvs_dlist-debugf.patch[3]
	bcm27xx/patches-6.6/950-0708-drm-vc4-Correct-logic-on-stopping-an-HVS-channel.patch[4]
	ramips/patches-6.6/002-01-v6.13-clk-ralink-mtmips-fix-clock-plan-for-Ralink-SoC-RT38.patch[5]
	ramips/patches-6.6/002-02-v6.13-clk-ralink-mtmips-fix-clocks-probe-order-in-oldest-r.patch[6]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=223ee2567a55e4f80315c768d2969e6a3b9fb23d
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=8182b5ca19c6f173b6498d1c6d3e4b034b76bbde
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=52c1716f65a558174e381360bd88f18dae4be85c
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=9728b508b01a5eeeac79ceb676364c674dd951ac
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=f85a1d06afbcc57ac44176db8f9d7a934979952c
6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=fbb13732c6ffa9d58cedafabcd5ce8fd7ef8ae5a
Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/17217
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 5158e28769)
		
	
		
			
				
	
	
		
			58 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 6fa07a5a10e7724c34d51b12187a138e85775433 Mon Sep 17 00:00:00 2001
 | 
						|
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
 | 
						|
Date: Wed, 13 Jun 2018 15:21:10 +0100
 | 
						|
Subject: [PATCH 0125/1085] net: lan78xx: Disable TCP Segmentation Offload
 | 
						|
 (TSO)
 | 
						|
 | 
						|
TSO seems to be having issues when packets are dropped and the
 | 
						|
remote end uses Selective Acknowledge (SACK) to denote that
 | 
						|
data is missing. The missing data is never resent, so the
 | 
						|
connection eventually stalls.
 | 
						|
 | 
						|
There is a module parameter of enable_tso added to allow
 | 
						|
further debugging without forcing a rebuild of the kernel.
 | 
						|
 | 
						|
https://github.com/raspberrypi/linux/issues/2449
 | 
						|
https://github.com/raspberrypi/linux/issues/2482
 | 
						|
 | 
						|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
 | 
						|
---
 | 
						|
 drivers/net/usb/lan78xx.c | 19 +++++++++++++++++--
 | 
						|
 1 file changed, 17 insertions(+), 2 deletions(-)
 | 
						|
 | 
						|
--- a/drivers/net/usb/lan78xx.c
 | 
						|
+++ b/drivers/net/usb/lan78xx.c
 | 
						|
@@ -609,6 +609,15 @@ static int lan78xx_alloc_tx_resources(st
 | 
						|
 				      dev->n_tx_urbs, dev->tx_urb_size, dev);
 | 
						|
 }
 | 
						|
 
 | 
						|
+/* TSO seems to be having some issue with Selective Acknowledge (SACK) that
 | 
						|
+ * results in lost data never being retransmitted.
 | 
						|
+ * Disable it by default now, but adds a module parameter to enable it for
 | 
						|
+ * debug purposes (the full cause is not currently understood).
 | 
						|
+ */
 | 
						|
+static bool enable_tso;
 | 
						|
+module_param(enable_tso, bool, 0644);
 | 
						|
+MODULE_PARM_DESC(enable_tso, "Enables TCP segmentation offload");
 | 
						|
+
 | 
						|
 static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data)
 | 
						|
 {
 | 
						|
 	u32 *buf;
 | 
						|
@@ -3472,8 +3481,14 @@ static int lan78xx_bind(struct lan78xx_n
 | 
						|
 	if (DEFAULT_RX_CSUM_ENABLE)
 | 
						|
 		dev->net->features |= NETIF_F_RXCSUM;
 | 
						|
 
 | 
						|
-	if (DEFAULT_TSO_CSUM_ENABLE)
 | 
						|
-		dev->net->features |= NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_SG;
 | 
						|
+	if (DEFAULT_TSO_CSUM_ENABLE) {
 | 
						|
+		dev->net->features |= NETIF_F_SG;
 | 
						|
+		/* Use module parameter to control TCP segmentation offload as
 | 
						|
+		 * it appears to cause issues.
 | 
						|
+		 */
 | 
						|
+		if (enable_tso)
 | 
						|
+			dev->net->features |= NETIF_F_TSO | NETIF_F_TSO6;
 | 
						|
+	}
 | 
						|
 
 | 
						|
 	if (DEFAULT_VLAN_RX_OFFLOAD)
 | 
						|
 		dev->net->features |= NETIF_F_HW_VLAN_CTAG_RX;
 |