2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/mediatek
Yanqing Wang ba99c627aa driver: net: ethernet: mtk_star_emac: fix suspend/resume issue
Identify the cause of the suspend/resume hang: netif_carrier_off()
is called during link state changes and becomes stuck while
executing linkwatch_work().

To resolve this issue, call netif_device_detach() during the Ethernet
suspend process to temporarily detach the network device from the
kernel and prevent the suspend/resume hang.

Fixes: 8c7bd5a454 ("net: ethernet: mtk-star-emac: new driver")
Signed-off-by: Yanqing Wang <ot_yanqing.wang@mediatek.com>
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Link: https://patch.msgid.link/20250528075351.593068-1-macpaul.lin@mediatek.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-05-29 12:22:25 +02:00
..
Kconfig net: airoha: Move airoha_eth driver in a dedicated folder 2025-03-04 13:22:08 +01:00
Makefile net: airoha: Move airoha_eth driver in a dedicated folder 2025-03-04 13:22:08 +01:00
mtk_eth_path.c net: ethernet: mtk_eth_soc: add support for MT7988 internal 2.5G PHY 2025-05-01 18:00:15 -07:00
mtk_eth_soc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-05-15 11:28:30 -07:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: Correct spelling 2025-05-25 15:09:09 +01:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers 2024-08-16 10:27:48 -07:00
mtk_ppe_offload.c net: ethernet: mtk_ppe_offload: Allow QinQ, double ETH_P_8021Q only 2025-02-27 14:31:37 +01: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_ppe.c net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers 2024-08-16 10:27:48 -07:00
mtk_ppe.h net: ethernet: mtk_ppe: Change PPE entries number to 16K 2024-07-05 17:20:25 -07:00
mtk_star_emac.c driver: net: ethernet: mtk_star_emac: fix suspend/resume issue 2025-05-29 12:22:25 +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 move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04: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: fix path of MT7988 WO firmware 2024-10-30 18:26:24 -07:00
mtk_wed.c net: ethernet: mtk_eth_soc: Correct spelling 2025-05-25 15:09:09 +01:00
mtk_wed.h net: ethernet: mtk_wed: introduce partial AMSDU offload support for MT7988 2023-09-19 18:27:56 +02:00