linux/drivers/net/ethernet/mediatek
Chad Monroe 6e0490fc36 net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM
If the mtk_poll_rx() function detects the MTK_RESETTING flag, it will
jump to release_desc and refill the high word of the SDP on the 4GB RFB.
Subsequently, mtk_rx_clean will process an incorrect SDP, leading to a
panic.

Add patch from MediaTek's SDK to resolve this.

Fixes: 2d75891ebc ("net: ethernet: mtk_eth_soc: support 36-bit DMA addressing on MT7988")
Link: 71f47ea785
Signed-off-by: Chad Monroe <chad@monroe.io>
Link: https://patch.msgid.link/4adc2aaeb0fb1b9cdc56bf21cf8e7fa328daa345.1745715843.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-04-29 14:36:42 -07: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
mtk_eth_soc.c net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM 2025-04-29 14:36:42 -07:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: net: revise NETSYSv3 hardware configuration 2025-04-22 18:51:48 -07: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_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
mtk_star_emac.c net: ethernet: mtk-star-emac: rearm interrupts in rx_poll only when advised 2025-04-25 19:06:56 -07:00
mtk_wed.c net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb() 2024-08-12 14:12:09 +01:00
mtk_wed.h
mtk_wed_debugfs.c
mtk_wed_mcu.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mtk_wed_ops.c
mtk_wed_regs.h
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