Skip to content
Commit 9fcadd12 authored by Daniel Golle's avatar Daniel Golle Committed by Sasha Levin
Browse files

net: ethernet: mtk_eth_soc: fix PPE hanging issue

[ Upstream commit ea80e3ed ]

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.

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


Fixes: ba37b7ca ("net: ethernet: mtk_eth_soc: add support for initializing the PPE")
Suggested-by: default avatarBc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 448cc8b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment