Re: [PATCH 2/2] dmaengine: uniphier-xdmac: Add UniPhier external DMA controller driver

From: Vinod Koul
Date: Fri Jan 10 2020 - 03:02:14 EST


On 09-01-20, 21:12, Kunihiko Hayashi wrote:
> Hi Vinod,
>
> Thank you for your comment.
>
> On Fri, 27 Dec 2019 12:04:11 +0530 <vkoul@xxxxxxxxxx> wrote:
>
> > On 18-12-19, 09:57, Kunihiko Hayashi wrote:
> > > This adds external DMA controller driver implemented in Socionext
> > > UniPhier SoCs. This driver supports DMA_MEMCPY and DMA_SLAVE modes.
> > >
> > > Since this driver does not support the the way to transfer size
> > > unaligned to burst width, 'src_maxburst' or 'dst_maxburst' of
> >
> > You mean driver does not support any unaligned bursts?
>
> Yes. If transfer size is unaligned to burst size, the final transfer
> will be overrun.

That is fine, you shoudl return error for bursts which are not aligned
when preparing the descriptors

--
~Vinod