Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-21 Thread Andy Green
On July 22, 2016 12:18:48 AM GMT+08:00, John Stultz wrote: >On Wed, Jul 20, 2016 at 11:27 PM, Andy Green wrote: >> On July 21, 2016 1:22:02 PM GMT+08:00, John Stultz > wrote: >>>On Wed, Jul 20, 2016 at 9:26 PM, zhangfei >>>wrote: On 07/21/2016 11:53 AM, John Stultz wrote: >

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-21 Thread John Stultz
On Wed, Jul 20, 2016 at 11:27 PM, Andy Green wrote: > On July 21, 2016 1:22:02 PM GMT+08:00, John Stultz > wrote: >>On Wed, Jul 20, 2016 at 9:26 PM, zhangfei >>wrote: >>> >>> >>> On 07/21/2016 11:53 AM, John Stultz wrote: After lots of debugging on an occasional DMA ERR issue, I reali

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-21 Thread zhangfei
On 07/21/2016 01:22 PM, John Stultz wrote: On Wed, Jul 20, 2016 at 9:26 PM, zhangfei wrote: On 07/21/2016 11:53 AM, John Stultz wrote: After lots of debugging on an occasional DMA ERR issue, I realized that the desc structures which we point the dma hardware are being allocated out of reg

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-21 Thread Andy Green
On Thu, 2016-07-21 at 11:40 +0100, Mark Brown wrote: > On Thu, Jul 21, 2016 at 02:27:02PM +0800, Andy Green wrote: > > > > On July 21, 2016 1:22:02 PM GMT+08:00, John Stultz > aro.org> wrote: > > > > > > On Wed, Jul 20, 2016 at 9:26 PM, zhangfei > > g> > > Please fix your mail client to word w

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-21 Thread Mark Brown
On Thu, Jul 21, 2016 at 02:27:02PM +0800, Andy Green wrote: > On July 21, 2016 1:22:02 PM GMT+08:00, John Stultz > wrote: > >On Wed, Jul 20, 2016 at 9:26 PM, zhangfei Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes yo

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-20 Thread Andy Green
On July 21, 2016 1:22:02 PM GMT+08:00, John Stultz wrote: >On Wed, Jul 20, 2016 at 9:26 PM, zhangfei >wrote: >> >> >> On 07/21/2016 11:53 AM, John Stultz wrote: >>> >>> After lots of debugging on an occasional DMA ERR issue, I realized >>> that the desc structures which we point the dma hardwa

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-20 Thread John Stultz
On Wed, Jul 20, 2016 at 9:26 PM, zhangfei wrote: > > > On 07/21/2016 11:53 AM, John Stultz wrote: >> >> After lots of debugging on an occasional DMA ERR issue, I realized >> that the desc structures which we point the dma hardware are being >> allocated out of regular memory. This means when we fi

Re: [PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-20 Thread zhangfei
On 07/21/2016 11:53 AM, John Stultz wrote: After lots of debugging on an occasional DMA ERR issue, I realized that the desc structures which we point the dma hardware are being allocated out of regular memory. This means when we fill the desc structures, that data doesn't always get flushed out

[PATCH 6/7] k3dma: Fix occasional DMA ERR issue by using proper dma api

2016-07-20 Thread John Stultz
After lots of debugging on an occasional DMA ERR issue, I realized that the desc structures which we point the dma hardware are being allocated out of regular memory. This means when we fill the desc structures, that data doesn't always get flushed out to memory by the time we start the dma transfe