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>
Thu, 14 Mar 2024 02:33:26 +0000 (02:33 +0000)
commit82e2d3478ae692365b9f178e30b417ffa53cdc4d
treefbfab514f847b50925774e56c62bc3f0a80b20e9
parent83e37f71fa60649ed3c30eaf114e5245db2d7c4d
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>
(cherry picked from commit 003b9ff61c081dd820764d4d0a83bb2514646576)
target/linux/generic/pending-5.15/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [new file with mode: 0644]