generic: mtk_eth_soc: fix PPE hanging issue
authorDaniel Golle <daniel@makrotopia.org>
Wed, 13 Mar 2024 18:44:52 +0000 (18:44 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 13 Mar 2024 19:18:43 +0000 (19:18 +0000)
commit003b9ff61c081dd820764d4d0a83bb2514646576
tree1f6846862ea80e33eaa6eaca88379e52289ce2d2
parent33d6ba5045023ee05ca884dc162dbd9202d8698e
generic: mtk_eth_soc: fix PPE hanging issue

A patch to resolve an issue was found in MediaTek's GPL-licensed SDK:
In the mtk_ppe_stop() function, the PPE scan mode is not disabled before
disabling the PPE. This can potentially lead to a hang during the process
of disabling the PPE.

Without this patch, the PPE may experience a hang during the reboot test.

Reference: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/b40da332dfe763932a82f9f62a4709457a15dd6c

Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/pending-5.15/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [new file with mode: 0644]
target/linux/generic/pending-6.1/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [new file with mode: 0644]