[PATCH] dmaengine: xilinx: xilinx_dma: Fix unmasked residue subtraction

Vinod Koul vkoul at kernel.org
Tue Mar 17 04:27:51 PDT 2026


On Mon, 16 Mar 2026 23:25:24 +0100, Marek Vasut wrote:
> The segment .control and .status fields both contain top bits which are
> not part of the buffer size, the buffer size is located only in the bottom
> max_buffer_len bits. To avoid interference from those top bits, mask out
> the size using max_buffer_len first, and only then subtract the values.
> 
> 

Applied, thanks!

[1/1] dmaengine: xilinx: xilinx_dma: Fix unmasked residue subtraction
      commit: c7d812e33f3e8ca0fa9eeabf71d1c7bc3acedc09

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list