Re: [PATCH RESEND] dmaengine: tegra: Fix burst size calculation

From: Vinod Koul

Date: Mon Jun 08 2026 - 08:15:46 EST



On Wed, 22 Apr 2026 12:11:34 +0530, Kartik Rajput wrote:
> Currently, the Tegra GPC DMA hardware requires the transfer length to
> be a multiple of the max burst size configured for the channel. When a
> client requests a transfer where the length is not evenly divisible by
> the configured max burst size, the DMA hangs with partial burst at
> the end.
>
> Fix this by reducing the burst size to the largest power-of-2 value
> that evenly divides the transfer length. For example, a 40-byte
> transfer with a 16-byte max burst will now use an 8-byte burst
> (40 / 8 = 5 complete bursts) instead of causing a hang.
>
> [...]

Applied, thanks!

[1/1] dmaengine: tegra: Fix burst size calculation
commit: 4651df83b6c796daead3447e8fd874322918ee4f

Best regards,
--
~Vinod