mirror-linux/drivers/net/ethernet/mediatek
Daniel Golle ea80e3ed09 net: ethernet: 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.

Link: b40da332df
Fixes: ba37b7caf1 ("net: ethernet: mtk_eth_soc: add support for initializing the PPE")
Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-03-15 14:03:45 +00:00
..
Kconfig net: ethernet: mtk_eth_soc: switch to external PCS driver 2023-03-20 19:48:35 -07:00
Makefile net: ethernet: mtk_eth_soc: switch to external PCS driver 2023-03-20 19:48:35 -07:00
mtk_eth_path.c net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC 2023-07-26 22:05:10 -07:00
mtk_eth_soc.c net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up 2024-03-15 14:03:45 +00:00
mtk_eth_soc.h net: ethernet: mtk_wed: introduce WED support for MT7988 2023-09-19 18:27:56 +02:00
mtk_ppe.c net: ethernet: mtk_eth_soc: fix PPE hanging issue 2024-03-15 14:03:45 +00:00
mtk_ppe.h net: ethernet: mtk_wed: introduce partial AMSDU offload support for MT7988 2023-09-19 18:27:56 +02:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: always mtk_get_ib1_pkt_type 2023-07-19 21:15:04 -07:00
mtk_ppe_offload.c net: dsa: Use conduit and user terms 2023-10-24 13:08:14 -07:00
mtk_ppe_regs.h net: ethernet: mtk_eth_soc: support per-flow accounting on MT7988 2023-08-03 11:28:37 +02:00
mtk_star_emac.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
mtk_wed.c net: ethernet: mtk_wed: add support for devices with more than 4GB of dram 2023-11-20 18:12:59 -08:00
mtk_wed.h net: ethernet: mtk_wed: introduce partial AMSDU offload support for MT7988 2023-09-19 18:27:56 +02:00
mtk_wed_debugfs.c net: ethernet: mtk_wed: debugfs: add WED 3.0 debugfs entries 2023-09-19 18:27:56 +02:00
mtk_wed_mcu.c net: ethernet: mtk_wed: remove wo pointer in wo_r32/wo_w32 signature 2023-10-24 17:08:46 -07:00
mtk_wed_ops.c net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00
mtk_wed_regs.h net: ethernet: mtk_wed: add wed 3.0 reset support 2023-09-19 18:27:56 +02:00
mtk_wed_wo.c net: introduce page_frag_cache_drain() 2024-03-05 11:38:14 +01:00
mtk_wed_wo.h net: ethernet: mtk_wed: introduce WED support for MT7988 2023-09-19 18:27:56 +02:00