[PATCH net v2] net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB DRAM
Simon Horman
horms at kernel.org
Thu Oct 9 01:54:45 PDT 2025
On Thu, Oct 09, 2025 at 08:29:34AM +0200, Lorenzo Bianconi wrote:
> From: Rex Lu <rex.lu at mediatek.com>
>
> 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 at gmail.com>
> Tested-by: Matteo Croce <teknoraver at meta.com>
> Signed-off-by: Rex Lu <rex.lu at mediatek.com>
> Co-developed-by: Lorenzo Bianconi <lorenzo at kernel.org>
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
> ---
> Changes in v2:
> - Add missing Fixes tags
> - Avoid possible deadlock if dma_set_mask_and_coherent fails
> - Link to v1: https://lore.kernel.org/r/20251008-wed-4g-ram-limitation-v1-1-16fe55e1d042@kernel.org
Thanks for the updates.
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the Linux-mediatek
mailing list