Re: [PATCH 4/6] async_tx: convert to dmaengine_is_*_aligned() helpers
From: Peng Fan
Date: Thu Oct 15 2026 - 07:15:13 EST
On Wed, Oct 14, 2026 at 03:43:48PM -0400, Frank.Li@xxxxxxxxxxx wrote:
>From: Frank Li <Frank.Li@xxxxxxx>
>
>Replace is_dma_{copy,xor,pq}_aligned() calls with the new
>dmaengine_is_{copy,xor,pq}_aligned() helpers that take a struct
>dma_chan * instead of struct dma_device *. Also update the internal
>helpers dma_xor_aligned_offsets() and is_dma_pq_aligned_offs() to
>take struct dma_chan * accordingly.
>
>Also use dmaengine_get_max_xor() to get max_xor.
>
>Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
Reviewed-by: Peng Fan <peng.fan@xxxxxxx>