forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
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: switch back 5.15 to fw_devlink=permissive kernel: netconsole: add network console logging support sdk: add spidev-test to the bundle of userspace sources kernel: backport mtk wlan flow offloading fix mbedtls: build with PIC
- Loading branch information
Showing
6 changed files
with
91 additions
and
4 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
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
28 changes: 28 additions & 0 deletions
28
target/linux/generic/backport-5.15/702-v5.19-34-eth-mtk_ppe-fix-up-after-merge.patch
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From: Jakub Kicinski <[email protected]> | ||
Date: Thu, 19 May 2022 18:25:55 -0700 | ||
Subject: [PATCH] eth: mtk_ppe: fix up after merge | ||
|
||
I missed this in the barrage of GCC 12 warnings. Commit cf2df74e202d | ||
("net: fix dev_fill_forward_path with pppoe + bridge") changed | ||
the pointer into an array. | ||
|
||
Fixes: d7e6f5836038 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net") | ||
Link: https://lore.kernel.org/r/[email protected] | ||
Signed-off-by: Jakub Kicinski <[email protected]> | ||
--- | ||
|
||
--- a/drivers/net/ethernet/mediatek/mtk_ppe_offload.c | ||
+++ b/drivers/net/ethernet/mediatek/mtk_ppe_offload.c | ||
@@ -90,10 +90,11 @@ mtk_flow_get_wdma_info(struct net_device | ||
{ | ||
struct net_device_path_ctx ctx = { | ||
.dev = dev, | ||
- .daddr = addr, | ||
}; | ||
struct net_device_path path = {}; | ||
|
||
+ memcpy(ctx.daddr, addr, sizeof(ctx.daddr)); | ||
+ | ||
if (!IS_ENABLED(CONFIG_NET_MEDIATEK_SOC_WED)) | ||
return -1; | ||
|
30 changes: 30 additions & 0 deletions
30
...et/linux/generic/hack-5.15/930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]> | ||
Date: Tue, 19 Jul 2022 06:17:48 +0200 | ||
Subject: [PATCH] Revert "Revert "Revert "driver core: Set fw_devlink=on by | ||
default""" | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
This reverts commit ea718c699055c8566eb64432388a04974c43b2ea. | ||
|
||
With of_platform_populate() called for MTD partitions that commit breaks | ||
probing devices which reference MTD in device tree. | ||
|
||
Link: https://lore.kernel.org/all/[email protected]/T/#u | ||
Signed-off-by: Rafał Miłecki <[email protected]> | ||
--- | ||
drivers/base/core.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
--- a/drivers/base/core.c | ||
+++ b/drivers/base/core.c | ||
@@ -1561,7 +1561,7 @@ static void device_links_purge(struct de | ||
#define FW_DEVLINK_FLAGS_RPM (FW_DEVLINK_FLAGS_ON | \ | ||
DL_FLAG_PM_RUNTIME) | ||
|
||
-static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_ON; | ||
+static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_PERMISSIVE; | ||
static int __init fw_devlink_setup(char *arg) | ||
{ | ||
if (!arg) |
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