[PATCH net-next v7 04/14] net: lan966x: add FDMA LLP register write helper

Simon Horman horms at kernel.org
Wed Sep 23 01:54:42 PDT 2026


On Fri, Sep 18, 2026 at 01:33:56PM +0200, Daniel Machon wrote:
> The FDMA Link List Pointer (LLP) register points to the first DCB in the
> chain and must be written before the channel is activated. This tells
> the FDMA engine where to begin DMA transfers.
> 
> Move the LLP register writes from the channel start/activate functions
> into the allocation functions and introduce a shared
> lan966x_fdma_llp_configure() helper. This is needed because the upcoming
> PCIe FDMA path writes ATU-translated addresses to the LLP registers
> instead of DMA addresses. Keeping the writes in the shared
> start/activate path would overwrite these translated addresses.
> 
> Tested-by: Herve Codina <herve.codina at bootlin.com>
> Signed-off-by: Daniel Machon <daniel.machon at microchip.com>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the linux-arm-kernel mailing list