forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bot] AutoMerging: merge all upstream's changes:
* https://github.com/coolsnowwolf/lede: kernel: bump 6.0 to 6.0.11 (coolsnowwolf#10556) kernel: bump 5.15 to 5.15.81 (coolsnowwolf#10554)
- Loading branch information
Showing
88 changed files
with
325 additions
and
326 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-5.15 = .80 | ||
LINUX_KERNEL_HASH-5.15.80 = 3b321a6466d2021f60ed8d4e33bba21db2f23efc2ddd2d9fb775393d9afdfd4d | ||
LINUX_VERSION-5.15 = .81 | ||
LINUX_KERNEL_HASH-5.15.81 = 8f885cdebd754d6e63b920cf6c3e5713e91bbf5f52e9d99eb0054ef7e8f096ab |
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.0 = .10 | ||
LINUX_KERNEL_HASH-6.0.10 = 39e57fcd84cd70bfa3e1a4185d3aa0ed7f1432f24c6548d16326b0c3c9541dd0 | ||
LINUX_VERSION-6.0 = .11 | ||
LINUX_KERNEL_HASH-6.0.11 = 2bae6131e64971e1e34ff395fa542971134c857bdb0b29069ab847c7c9a9c762 |
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
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
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 |
---|---|---|
|
@@ -22,6 +22,6 @@ Signed-off-by: Jonathan Bell <[email protected]> | |
QUIRK_FLAG_GENERIC_IMPLICIT_FB), | ||
+ DEVICE_FLG(0x09da, 0x2695, /* A4Tech FHD 1080p webcam */ | ||
+ QUIRK_FLAG_DISABLE_AUTOSUSPEND | QUIRK_FLAG_GET_SAMPLE_RATE), | ||
DEVICE_FLG(0x0525, 0xa4ad, /* Hamedal C20 usb camero */ | ||
QUIRK_FLAG_IFACE_SKIP_CLOSE), | ||
|
||
/* Vendor matches */ | ||
VENDOR_FLG(0x045e, /* MS Lifecam */ |
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
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
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
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 |
---|---|---|
|
@@ -205,7 +205,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
MTK_DMA_SIZE * sizeof(struct mtk_tx_dma), | ||
eth->scratch_ring, | ||
eth->phy_scratch_ring); | ||
@@ -2511,6 +2512,8 @@ static void mtk_dim_tx(struct work_struc | ||
@@ -2513,6 +2514,8 @@ static void mtk_dim_tx(struct work_struc | ||
|
||
static int mtk_hw_init(struct mtk_eth *eth) | ||
{ | ||
|
@@ -214,7 +214,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
int i, val, ret; | ||
|
||
if (test_and_set_bit(MTK_HW_INIT, ð->state)) | ||
@@ -2523,6 +2526,10 @@ static int mtk_hw_init(struct mtk_eth *e | ||
@@ -2525,6 +2528,10 @@ static int mtk_hw_init(struct mtk_eth *e | ||
if (ret) | ||
goto err_disable_pm; | ||
|
||
|
@@ -225,7 +225,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
if (MTK_HAS_CAPS(eth->soc->caps, MTK_SOC_MT7628)) { | ||
ret = device_reset(eth->dev); | ||
if (ret) { | ||
@@ -3076,6 +3083,35 @@ free_netdev: | ||
@@ -3078,6 +3085,35 @@ free_netdev: | ||
return err; | ||
} | ||
|
||
|
@@ -261,15 +261,15 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
static int mtk_probe(struct platform_device *pdev) | ||
{ | ||
struct device_node *mac_np; | ||
@@ -3089,6 +3125,7 @@ static int mtk_probe(struct platform_dev | ||
@@ -3091,6 +3127,7 @@ static int mtk_probe(struct platform_dev | ||
eth->soc = of_device_get_match_data(&pdev->dev); | ||
|
||
eth->dev = &pdev->dev; | ||
+ eth->dma_dev = &pdev->dev; | ||
eth->base = devm_platform_ioremap_resource(pdev, 0); | ||
if (IS_ERR(eth->base)) | ||
return PTR_ERR(eth->base); | ||
@@ -3137,6 +3174,16 @@ static int mtk_probe(struct platform_dev | ||
@@ -3139,6 +3176,16 @@ static int mtk_probe(struct platform_dev | ||
} | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -56,7 +56,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
|
||
static int mtk_msg_level = -1; | ||
module_param_named(msg_level, mtk_msg_level, int, 0); | ||
@@ -3206,6 +3207,22 @@ static int mtk_probe(struct platform_dev | ||
@@ -3208,6 +3209,22 @@ static int mtk_probe(struct platform_dev | ||
} | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -10,16 +10,16 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
|
||
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c | ||
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c | ||
@@ -2332,7 +2332,7 @@ static int mtk_open(struct net_device *d | ||
if (err) | ||
@@ -2334,7 +2334,7 @@ static int mtk_open(struct net_device *d | ||
return err; | ||
} | ||
|
||
- if (eth->soc->offload_version && mtk_ppe_start(ð->ppe) == 0) | ||
+ if (eth->soc->offload_version && mtk_ppe_start(eth->ppe) == 0) | ||
gdm_config = MTK_GDMA_TO_PPE; | ||
|
||
mtk_gdm_config(eth, gdm_config); | ||
@@ -2406,7 +2406,7 @@ static int mtk_stop(struct net_device *d | ||
@@ -2408,7 +2408,7 @@ static int mtk_stop(struct net_device *d | ||
mtk_dma_free(eth); | ||
|
||
if (eth->soc->offload_version) | ||
|
@@ -28,7 +28,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
|
||
return 0; | ||
} | ||
@@ -3298,10 +3298,11 @@ static int mtk_probe(struct platform_dev | ||
@@ -3300,10 +3300,11 @@ static int mtk_probe(struct platform_dev | ||
} | ||
|
||
if (eth->soc->offload_version) { | ||
|
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 |
---|---|---|
|
@@ -54,7 +54,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
if (netdev->features & NETIF_F_HW_VLAN_CTAG_RX && | ||
(trxd.rxd2 & RX_DMA_VTAG)) | ||
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), | ||
@@ -3298,7 +3304,7 @@ static int mtk_probe(struct platform_dev | ||
@@ -3300,7 +3306,7 @@ static int mtk_probe(struct platform_dev | ||
} | ||
|
||
if (eth->soc->offload_version) { | ||
|
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
mediatek,hifsys = <&hifsys>; | ||
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c | ||
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c | ||
@@ -3185,7 +3185,7 @@ static int mtk_probe(struct platform_dev | ||
@@ -3187,7 +3187,7 @@ static int mtk_probe(struct platform_dev | ||
struct regmap *cci; | ||
|
||
cci = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, | ||
|
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 |
---|---|---|
|
@@ -85,7 +85,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
eth->scratch_ring = NULL; | ||
eth->phy_scratch_ring = 0; | ||
} | ||
@@ -3388,6 +3391,9 @@ static const struct mtk_soc_data mt2701_ | ||
@@ -3390,6 +3393,9 @@ static const struct mtk_soc_data mt2701_ | ||
.hw_features = MTK_HW_FEATURES, | ||
.required_clks = MT7623_CLKS_BITMAP, | ||
.required_pctl = true, | ||
|
@@ -95,7 +95,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
}; | ||
|
||
static const struct mtk_soc_data mt7621_data = { | ||
@@ -3396,6 +3402,9 @@ static const struct mtk_soc_data mt7621_ | ||
@@ -3398,6 +3404,9 @@ static const struct mtk_soc_data mt7621_ | ||
.required_clks = MT7621_CLKS_BITMAP, | ||
.required_pctl = false, | ||
.offload_version = 2, | ||
|
@@ -105,7 +105,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
}; | ||
|
||
static const struct mtk_soc_data mt7622_data = { | ||
@@ -3405,6 +3414,9 @@ static const struct mtk_soc_data mt7622_ | ||
@@ -3407,6 +3416,9 @@ static const struct mtk_soc_data mt7622_ | ||
.required_clks = MT7622_CLKS_BITMAP, | ||
.required_pctl = false, | ||
.offload_version = 2, | ||
|
@@ -115,7 +115,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
}; | ||
|
||
static const struct mtk_soc_data mt7623_data = { | ||
@@ -3413,6 +3425,9 @@ static const struct mtk_soc_data mt7623_ | ||
@@ -3415,6 +3427,9 @@ static const struct mtk_soc_data mt7623_ | ||
.required_clks = MT7623_CLKS_BITMAP, | ||
.required_pctl = true, | ||
.offload_version = 2, | ||
|
@@ -125,7 +125,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
}; | ||
|
||
static const struct mtk_soc_data mt7629_data = { | ||
@@ -3421,6 +3436,9 @@ static const struct mtk_soc_data mt7629_ | ||
@@ -3423,6 +3438,9 @@ static const struct mtk_soc_data mt7629_ | ||
.hw_features = MTK_HW_FEATURES, | ||
.required_clks = MT7629_CLKS_BITMAP, | ||
.required_pctl = false, | ||
|
@@ -135,7 +135,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
}; | ||
|
||
static const struct mtk_soc_data rt5350_data = { | ||
@@ -3428,6 +3446,9 @@ static const struct mtk_soc_data rt5350_ | ||
@@ -3430,6 +3448,9 @@ static const struct mtk_soc_data rt5350_ | ||
.hw_features = MTK_HW_FEATURES_MT7628, | ||
.required_clks = MT7628_CLKS_BITMAP, | ||
.required_pctl = false, | ||
|
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 |
---|---|---|
|
@@ -34,47 +34,47 @@ Signed-off-by: David S. Miller <[email protected]> | |
ring->dma = NULL; | ||
} | ||
} | ||
@@ -3403,6 +3402,7 @@ static const struct mtk_soc_data mt2701_ | ||
@@ -3405,6 +3404,7 @@ static const struct mtk_soc_data mt2701_ | ||
.required_pctl = true, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
+ .rxd_size = sizeof(struct mtk_rx_dma), | ||
}, | ||
}; | ||
|
||
@@ -3414,6 +3414,7 @@ static const struct mtk_soc_data mt7621_ | ||
@@ -3416,6 +3416,7 @@ static const struct mtk_soc_data mt7621_ | ||
.offload_version = 2, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
+ .rxd_size = sizeof(struct mtk_rx_dma), | ||
}, | ||
}; | ||
|
||
@@ -3426,6 +3427,7 @@ static const struct mtk_soc_data mt7622_ | ||
@@ -3428,6 +3429,7 @@ static const struct mtk_soc_data mt7622_ | ||
.offload_version = 2, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
+ .rxd_size = sizeof(struct mtk_rx_dma), | ||
}, | ||
}; | ||
|
||
@@ -3437,6 +3439,7 @@ static const struct mtk_soc_data mt7623_ | ||
@@ -3439,6 +3441,7 @@ static const struct mtk_soc_data mt7623_ | ||
.offload_version = 2, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
+ .rxd_size = sizeof(struct mtk_rx_dma), | ||
}, | ||
}; | ||
|
||
@@ -3448,6 +3451,7 @@ static const struct mtk_soc_data mt7629_ | ||
@@ -3450,6 +3453,7 @@ static const struct mtk_soc_data mt7629_ | ||
.required_pctl = false, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
+ .rxd_size = sizeof(struct mtk_rx_dma), | ||
}, | ||
}; | ||
|
||
@@ -3458,6 +3462,7 @@ static const struct mtk_soc_data rt5350_ | ||
@@ -3460,6 +3464,7 @@ static const struct mtk_soc_data rt5350_ | ||
.required_pctl = false, | ||
.txrx = { | ||
.txd_size = sizeof(struct mtk_tx_dma), | ||
|
Oops, something went wrong.