aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-21 01:16:48 +0000
committerPaul Spooren <mail@aparcar.org>2022-03-21 11:36:30 +0000
commit3a14580411adfb75f9a44eded9f41245b9e44606 (patch)
treec3002cc1a0948bfedc4475d7276da0b3ebd4775c /target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch
parent9f9477b2751231d57cdd8c227149b88c93491d93 (diff)
downloadupstream-3a14580411adfb75f9a44eded9f41245b9e44606.tar.gz
upstream-3a14580411adfb75f9a44eded9f41245b9e44606.tar.bz2
upstream-3a14580411adfb75f9a44eded9f41245b9e44606.zip
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all kernel configuration as well as patches for Linux 5.4. There were no targets still actively using Linux 5.4. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch b/target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch
deleted file mode 100644
index fad336a643..0000000000
--- a/target/linux/bcm63xx/patches-5.4/047-v5.12-bcm63xx_enet-fix-kernel-panic.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 90eda07518ea7e8d1b3e6445eb3633eef9f65218 Mon Sep 17 00:00:00 2001
-From: Sieng Piaw Liew <liew.s.piaw@gmail.com>
-Date: Mon, 22 Feb 2021 09:15:12 +0800
-Subject: [PATCH net] bcm63xx_enet: fix sporadic kernel panic
-
-In ndo_stop functions, netdev_completed_queue() is called during forced
-tx reclaim, after netdev_reset_queue(). This may trigger kernel panic if
-there is any tx skb left.
-
-This patch moves netdev_reset_queue() to after tx reclaim, so BQL can
-complete successfully then reset.
-
-Signed-off-by: Sieng Piaw Liew <liew.s.piaw@gmail.com>
-Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-Fixes: 4c59b0f5543d ("bcm63xx_enet: add BQL support")
-Signed-off-by: Jakub Kicinski <kuba@kernel.org>
----
- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
---- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
-+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
-@@ -1193,7 +1193,6 @@ static int bcm_enet_stop(struct net_devi
- kdev = &priv->pdev->dev;
-
- netif_stop_queue(dev);
-- netdev_reset_queue(dev);
- napi_disable(&priv->napi);
- if (priv->has_phy)
- phy_stop(dev->phydev);
-@@ -1232,6 +1231,9 @@ static int bcm_enet_stop(struct net_devi
- if (priv->has_phy)
- phy_disconnect(dev->phydev);
-
-+ /* reset BQL after forced tx reclaim to not kernel panic */
-+ netdev_reset_queue(dev);
-+
- return 0;
- }
-
-@@ -2348,7 +2350,6 @@ static int bcm_enetsw_stop(struct net_de
-
- del_timer_sync(&priv->swphy_poll);
- netif_stop_queue(dev);
-- netdev_reset_queue(dev);
- napi_disable(&priv->napi);
- del_timer_sync(&priv->rx_timeout);
-
-@@ -2376,6 +2377,9 @@ static int bcm_enetsw_stop(struct net_de
- free_irq(priv->irq_tx, dev);
- free_irq(priv->irq_rx, dev);
-
-+ /* reset BQL after forced tx reclaim to not kernel panic */
-+ netdev_reset_queue(dev);
-+
- return 0;
- }
-