PL330 alignment requirement questions

Jassi Brar jassisinghbrar at gmail.com
Fri Jul 8 21:56:53 EDT 2011


On Sat, Jul 9, 2011 at 3:26 AM,  <johnlinn at comcast.net> wrote:
> I'm testing our PL330 with the driver/dma/pl330 driver and see some strangeness that's probably my own setup issue.
>
> I'm also using drivers/dmatest to test it with memory to memory copies. I'm seeing that the copy alignment (copy_align) is not setup (it's 0) such that I see errors on some transfers at the end of the transfer.
>
> If I setup the copy_align to be 3 or larger then I don't see these errors. This number doesn't make much sense to me and I'm digging into the details (seems like 4 would make sense).  I just wanted to see if anyone had tested with dmatest and seen anything similar.
>
It might help if you dump length, src_addr and dst_addr of failed transfers.
drivers/dma/pl330.c was not rigorously tested because Samsung drivers
use their own DMA API.
Btw, please remember to CC the author.



More information about the linux-arm-kernel mailing list