[PATCH net-next v4 3/3] net: ethernet: mtk_eth_soc: use generic allocator for SRAM

Andrew Lunn andrew at lunn.ch
Wed Jul 2 00:46:26 PDT 2025


On Wed, Jul 02, 2025 at 03:38:15AM +0100, Daniel Golle wrote:
> Use a dedicated "mmio-sram" node and the generic allocator
> instead of open-coding SRAM allocation for DMA rings.
> Keep support for legacy device trees but notify the user via a
> warning to update, and let the ethernet driver create the
> gen_pool in this case.
> 
> Co-developed-by: Frank Wunderlich <frank-w at public-files.de>
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list