[PATCH v2] dmaengine: sun6i: Set the maximum segment size

Vinod Koul vkoul at kernel.org
Wed Jan 18 04:07:48 PST 2023


On 01-01-23, 13:36, Samuel Holland wrote:
> The sun6i DMA engine supports segment sizes up to 2^25-1 bytes. This is
> explicitly stated in newer SoC documentation (H6, D1), and it is implied
> in older documentation by the 25-bit width of the "bytes left in the
> current segment" register field.
> 
> Exposing the real segment size limit (instead of the 64k default)
> reduces the number of SG list segments needed for a transaction.

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list