]> Gentwo Git Trees - linux/.git/commit
net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB...
authorRex Lu <rex.lu@mediatek.com>
Thu, 9 Oct 2025 06:29:34 +0000 (08:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Oct 2025 17:14:55 +0000 (18:14 +0100)
commit3abc0e55ea1fa2250e52bc860e8f24b2b9a2093a
treeecf1d6b6b01c6cff103a94cd68766de884745954
parentd5d790ba1558dbb8d179054f514476e2ee970b8e
net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB DRAM

Limit tx/rx buffer address to 32-bit address space for board with more
than 4GB DRAM.

Fixes: 804775dfc2885 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
Fixes: 6757d345dd7db ("net: ethernet: mtk_wed: introduce hw_rro support for MT7988")
Tested-by: Daniel Pawlik <pawlik.dan@gmail.com>
Tested-by: Matteo Croce <teknoraver@meta.com>
Signed-off-by: Rex Lu <rex.lu@mediatek.com>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_wed.c