-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.29 Removed upstreamed: generic/backport-6.6/740-v6.9-01-netfilter-flowtable-validate-pppoe-header.patch[1] generic/backport-6.6/740-v6.9-02-netfilter-flowtable-incorrect-pppoe-tuple.patch[2] generic/backport-6.6/790-29-v6.9-net-dsa-mt7530-fix-improper-frames-on-all-25MHz-and-.patch[3] generic/backport-6.6/790-31-v6.10-net-dsa-mt7530-fix-enabling-EEE-on-MT7531-switch-on-.patch[4] generic/backport-6.6/790-34-v6.10-net-dsa-mt7530-fix-mirroring-frames-received-on-loca.patch[5] generic/backport-6.6/790-35-v6.10-net-dsa-mt7530-fix-port-mirroring-for-MT7988-SoC-swi.patch[6] mediatek/patches-6.6/963-net-ethernet-mtk_eth_soc-fix-WED-wifi-reset.patch[7] Manually rebased: generic/backport-6.6/790-23-v6.9-net-dsa-mt7530-get-rid-of-priv-info-cpu_port_config.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=a2471d271042ea18e8a6babc132a8716bb2f08b9 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=4ed82dd368ad883dc4284292937b882f044e625d 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=21b9d89d93422221cdda1b82fd075fa3c94a11d9 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=bd41ee1efd478852a0882ce5f136bc2b5e83eff2 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=d1be3960539249a8690ed09a29d0e3bf34189dd2 6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=f8de1b6208bf71bd3102548d33dd8475573ad2ea 7. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.29&id=6855f724f19620c3ddff57c349e0abba797475b1 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 Signed-off-by: John Audia <[email protected]>
- Loading branch information
Showing
55 changed files
with
195 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-6.6 = .28 | ||
LINUX_KERNEL_HASH-6.6.28 = 818716ed13e7dba6aaeae24e3073993e260812ed128d10272e94b922ee6d3394 | ||
LINUX_VERSION-6.6 = .29 | ||
LINUX_KERNEL_HASH-6.6.29 = 7f26f74c08082c86b1daf866e4d49c5d8276cc1906a89d0e367e457ec167cbd0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 0 additions & 87 deletions
87
...et/linux/generic/backport-6.6/740-v6.9-01-netfilter-flowtable-validate-pppoe-header.patch
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...et/linux/generic/backport-6.6/740-v6.9-02-netfilter-flowtable-incorrect-pppoe-tuple.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
|
||
--- a/drivers/net/ethernet/mediatek/mtk_wed.c | ||
+++ b/drivers/net/ethernet/mediatek/mtk_wed.c | ||
@@ -1713,19 +1713,20 @@ mtk_wed_irq_set_mask(struct mtk_wed_devi | ||
@@ -1709,19 +1709,20 @@ mtk_wed_irq_set_mask(struct mtk_wed_devi | ||
int mtk_wed_flow_add(int index) | ||
{ | ||
struct mtk_wed_hw *hw = hw_list[index]; | ||
|
@@ -44,7 +44,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
goto out; | ||
} | ||
|
||
@@ -1744,14 +1745,15 @@ void mtk_wed_flow_remove(int index) | ||
@@ -1740,14 +1741,15 @@ void mtk_wed_flow_remove(int index) | ||
{ | ||
struct mtk_wed_hw *hw = hw_list[index]; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,15 +52,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wdma_clr(dev, MTK_WDMA_GLO_CFG, | ||
MTK_WDMA_GLO_CFG_RX_INFO3_PRERES); | ||
@@ -606,7 +606,7 @@ mtk_wed_stop(struct mtk_wed_device *dev) | ||
wdma_w32(dev, MTK_WDMA_INT_MASK, 0); | ||
wdma_w32(dev, MTK_WDMA_INT_GRP2, 0); | ||
wed_w32(dev, MTK_WED_WPDMA_INT_MASK, 0); | ||
|
||
- if (dev->hw->version == 1) | ||
+ if (mtk_wed_is_v1(dev->hw)) | ||
return; | ||
|
||
wed_w32(dev, MTK_WED_EXT_INT_MASK1, 0); | ||
@@ -625,7 +625,7 @@ mtk_wed_deinit(struct mtk_wed_device *de | ||
@@ -624,7 +624,7 @@ mtk_wed_deinit(struct mtk_wed_device *de | ||
MTK_WED_CTRL_WED_TX_BM_EN | | ||
MTK_WED_CTRL_WED_TX_FREE_AGENT_EN); | ||
|
||
|
@@ -69,7 +69,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return; | ||
|
||
wed_clr(dev, MTK_WED_CTRL, | ||
@@ -731,7 +731,7 @@ mtk_wed_bus_init(struct mtk_wed_device * | ||
@@ -730,7 +730,7 @@ mtk_wed_bus_init(struct mtk_wed_device * | ||
static void | ||
mtk_wed_set_wpdma(struct mtk_wed_device *dev) | ||
{ | ||
|
@@ -78,7 +78,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wed_w32(dev, MTK_WED_WPDMA_CFG_BASE, dev->wlan.wpdma_phys); | ||
} else { | ||
mtk_wed_bus_init(dev); | ||
@@ -762,7 +762,7 @@ mtk_wed_hw_init_early(struct mtk_wed_dev | ||
@@ -761,7 +761,7 @@ mtk_wed_hw_init_early(struct mtk_wed_dev | ||
MTK_WED_WDMA_GLO_CFG_IDLE_DMAD_SUPPLY; | ||
wed_m32(dev, MTK_WED_WDMA_GLO_CFG, mask, set); | ||
|
||
|
@@ -87,7 +87,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
u32 offset = dev->hw->index ? 0x04000400 : 0; | ||
|
||
wdma_set(dev, MTK_WDMA_GLO_CFG, | ||
@@ -935,7 +935,7 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
@@ -934,7 +934,7 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
|
||
wed_w32(dev, MTK_WED_TX_BM_BUF_LEN, MTK_WED_PKT_SIZE); | ||
|
||
|
@@ -96,7 +96,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wed_w32(dev, MTK_WED_TX_BM_TKID, | ||
FIELD_PREP(MTK_WED_TX_BM_TKID_START, | ||
dev->wlan.token_start) | | ||
@@ -968,7 +968,7 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
@@ -967,7 +967,7 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
|
||
mtk_wed_reset(dev, MTK_WED_RESET_TX_BM); | ||
|
||
|
@@ -105,7 +105,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wed_set(dev, MTK_WED_CTRL, | ||
MTK_WED_CTRL_WED_TX_BM_EN | | ||
MTK_WED_CTRL_WED_TX_FREE_AGENT_EN); | ||
@@ -1218,7 +1218,7 @@ mtk_wed_reset_dma(struct mtk_wed_device | ||
@@ -1217,7 +1217,7 @@ mtk_wed_reset_dma(struct mtk_wed_device | ||
} | ||
|
||
dev->init_done = false; | ||
|
@@ -114,7 +114,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return; | ||
|
||
if (!busy) { | ||
@@ -1344,7 +1344,7 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
@@ -1343,7 +1343,7 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
MTK_WED_CTRL_WED_TX_BM_EN | | ||
MTK_WED_CTRL_WED_TX_FREE_AGENT_EN); | ||
|
||
|
@@ -123,7 +123,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wed_w32(dev, MTK_WED_PCIE_INT_TRIGGER, | ||
MTK_WED_PCIE_INT_TRIGGER_STATUS); | ||
|
||
@@ -1417,7 +1417,7 @@ mtk_wed_dma_enable(struct mtk_wed_device | ||
@@ -1416,7 +1416,7 @@ mtk_wed_dma_enable(struct mtk_wed_device | ||
MTK_WDMA_GLO_CFG_RX_INFO1_PRERES | | ||
MTK_WDMA_GLO_CFG_RX_INFO2_PRERES); | ||
|
||
|
@@ -132,7 +132,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wdma_set(dev, MTK_WDMA_GLO_CFG, | ||
MTK_WDMA_GLO_CFG_RX_INFO3_PRERES); | ||
} else { | ||
@@ -1466,7 +1466,7 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
@@ -1465,7 +1465,7 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
|
||
mtk_wed_set_ext_int(dev, true); | ||
|
||
|
@@ -141,7 +141,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
u32 val = dev->wlan.wpdma_phys | MTK_PCIE_MIRROR_MAP_EN | | ||
FIELD_PREP(MTK_PCIE_MIRROR_MAP_WED_ID, | ||
dev->hw->index); | ||
@@ -1551,7 +1551,7 @@ mtk_wed_attach(struct mtk_wed_device *de | ||
@@ -1550,7 +1550,7 @@ mtk_wed_attach(struct mtk_wed_device *de | ||
} | ||
|
||
mtk_wed_hw_init_early(dev); | ||
|
@@ -150,7 +150,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
regmap_update_bits(hw->hifsys, HIFSYS_DMA_AG_MAP, | ||
BIT(hw->index), 0); | ||
} else { | ||
@@ -1619,7 +1619,7 @@ static int | ||
@@ -1618,7 +1618,7 @@ static int | ||
mtk_wed_txfree_ring_setup(struct mtk_wed_device *dev, void __iomem *regs) | ||
{ | ||
struct mtk_wed_ring *ring = &dev->txfree_ring; | ||
|
@@ -159,7 +159,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
/* | ||
* For txfree event handling, the same DMA ring is shared between WED | ||
@@ -1677,7 +1677,7 @@ mtk_wed_irq_get(struct mtk_wed_device *d | ||
@@ -1676,7 +1676,7 @@ mtk_wed_irq_get(struct mtk_wed_device *d | ||
{ | ||
u32 val, ext_mask = MTK_WED_EXT_INT_STATUS_ERROR_MASK; | ||
|
||
|
@@ -168,7 +168,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
ext_mask |= MTK_WED_EXT_INT_STATUS_TX_DRV_R_RESP_ERR; | ||
else | ||
ext_mask |= MTK_WED_EXT_INT_STATUS_RX_FBUF_LO_TH | | ||
@@ -1844,7 +1844,7 @@ mtk_wed_setup_tc(struct mtk_wed_device * | ||
@@ -1840,7 +1840,7 @@ mtk_wed_setup_tc(struct mtk_wed_device * | ||
{ | ||
struct mtk_wed_hw *hw = wed->hw; | ||
|
||
|
@@ -177,7 +177,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
return -EOPNOTSUPP; | ||
|
||
switch (type) { | ||
@@ -1918,9 +1918,9 @@ void mtk_wed_add_hw(struct device_node * | ||
@@ -1914,9 +1914,9 @@ void mtk_wed_add_hw(struct device_node * | ||
hw->wdma = wdma; | ||
hw->index = index; | ||
hw->irq = irq; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
--- a/drivers/net/ethernet/mediatek/mtk_wed.c | ||
+++ b/drivers/net/ethernet/mediatek/mtk_wed.c | ||
@@ -606,7 +606,7 @@ mtk_wed_stop(struct mtk_wed_device *dev) | ||
wdma_w32(dev, MTK_WDMA_INT_MASK, 0); | ||
wdma_w32(dev, MTK_WDMA_INT_GRP2, 0); | ||
wed_w32(dev, MTK_WED_WPDMA_INT_MASK, 0); | ||
|
||
- if (mtk_wed_is_v1(dev->hw)) | ||
+ if (!mtk_wed_get_rx_capa(dev)) | ||
return; | ||
|
||
wed_w32(dev, MTK_WED_EXT_INT_MASK1, 0); | ||
@@ -733,16 +733,21 @@ mtk_wed_set_wpdma(struct mtk_wed_device | ||
@@ -732,16 +732,21 @@ mtk_wed_set_wpdma(struct mtk_wed_device | ||
{ | ||
if (mtk_wed_is_v1(dev->hw)) { | ||
wed_w32(dev, MTK_WED_WPDMA_CFG_BASE, dev->wlan.wpdma_phys); | ||
|
@@ -55,7 +55,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
} | ||
|
||
static void | ||
@@ -974,15 +979,17 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
@@ -973,15 +978,17 @@ mtk_wed_hw_init(struct mtk_wed_device *d | ||
MTK_WED_CTRL_WED_TX_FREE_AGENT_EN); | ||
} else { | ||
wed_clr(dev, MTK_WED_TX_TKID_CTRL, MTK_WED_TX_TKID_CTRL_PAUSE); | ||
|
@@ -82,7 +82,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
} | ||
|
||
wed_clr(dev, MTK_WED_TX_BM_CTRL, MTK_WED_TX_BM_CTRL_PAUSE); | ||
@@ -1354,8 +1361,6 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
@@ -1353,8 +1360,6 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
|
||
wed_clr(dev, MTK_WED_WDMA_INT_CTRL, wdma_mask); | ||
} else { | ||
|
@@ -91,7 +91,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
/* initail tx interrupt trigger */ | ||
wed_w32(dev, MTK_WED_WPDMA_INT_CTRL_TX, | ||
MTK_WED_WPDMA_INT_CTRL_TX0_DONE_EN | | ||
@@ -1374,15 +1379,20 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
@@ -1373,15 +1378,20 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
FIELD_PREP(MTK_WED_WPDMA_INT_CTRL_TX_FREE_DONE_TRIG, | ||
dev->wlan.txfree_tbit)); | ||
|
||
|
@@ -121,7 +121,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
|
||
wed_w32(dev, MTK_WED_WDMA_INT_CLR, wdma_mask); | ||
wed_set(dev, MTK_WED_WDMA_INT_CTRL, | ||
@@ -1401,6 +1411,8 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
@@ -1400,6 +1410,8 @@ mtk_wed_configure_irq(struct mtk_wed_dev | ||
static void | ||
mtk_wed_dma_enable(struct mtk_wed_device *dev) | ||
{ | ||
|
@@ -130,7 +130,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
wed_set(dev, MTK_WED_WPDMA_INT_CTRL, MTK_WED_WPDMA_INT_CTRL_SUBRT_ADV); | ||
|
||
wed_set(dev, MTK_WED_GLO_CFG, | ||
@@ -1420,33 +1432,33 @@ mtk_wed_dma_enable(struct mtk_wed_device | ||
@@ -1419,33 +1431,33 @@ mtk_wed_dma_enable(struct mtk_wed_device | ||
if (mtk_wed_is_v1(dev->hw)) { | ||
wdma_set(dev, MTK_WDMA_GLO_CFG, | ||
MTK_WDMA_GLO_CFG_RX_INFO3_PRERES); | ||
|
@@ -186,7 +186,7 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
} | ||
|
||
static void | ||
@@ -1473,7 +1485,7 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
@@ -1472,7 +1484,7 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
|
||
val |= BIT(0) | (BIT(1) * !!dev->hw->index); | ||
regmap_write(dev->hw->mirror, dev->hw->index * 4, val); | ||
|
@@ -195,15 +195,15 @@ Signed-off-by: Paolo Abeni <[email protected]> | |
/* driver set mid ready and only once */ | ||
wed_w32(dev, MTK_WED_EXT_INT_MASK1, | ||
MTK_WED_EXT_INT_STATUS_WPDMA_MID_RDY); | ||
@@ -1485,7 +1497,6 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
@@ -1484,7 +1496,6 @@ mtk_wed_start(struct mtk_wed_device *dev | ||
|
||
if (mtk_wed_rro_cfg(dev)) | ||
return; | ||
- | ||
} | ||
|
||
mtk_wed_set_512_support(dev, dev->wlan.wcid_512); | ||
@@ -1551,13 +1562,14 @@ mtk_wed_attach(struct mtk_wed_device *de | ||
@@ -1550,13 +1561,14 @@ mtk_wed_attach(struct mtk_wed_device *de | ||
} | ||
|
||
mtk_wed_hw_init_early(dev); | ||
|
Oops, something went wrong.