Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-08-27 Thread Christoph Hellwig
Given that it didn't make 4.19-rc1, I'll pull this into the dma-mapping tree first thing for 4.20 as I have some other changes that will go on top of it. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/lis

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-08-07 Thread Christoph Hellwig
On Tue, Aug 07, 2018 at 07:19:27PM -0500, Richard Kuo wrote: > I am here, and I have the patch queued up but it's waiting for approval > before I get to push it out through my tree. > > That said, I am perfectly fine with this going through a different tree > if expedience is needed. I just want

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-08-07 Thread Richard Kuo
On Tue, Aug 07, 2018 at 09:01:36AM +0200, Christoph Hellwig wrote: > On Tue, Jul 31, 2018 at 05:22:29PM +0200, Christoph Hellwig wrote: > > On Wed, Jul 25, 2018 at 06:39:27AM +0200, Christoph Hellwig wrote: > > > On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > > > > Patch series look

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-08-06 Thread Christoph Hellwig
On Tue, Jul 31, 2018 at 05:22:29PM +0200, Christoph Hellwig wrote: > On Wed, Jul 25, 2018 at 06:39:27AM +0200, Christoph Hellwig wrote: > > On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > > > Patch series looks good. Definitely appreciate the cleanup. > > > > > > I can take it thro

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-31 Thread Christoph Hellwig
On Wed, Jul 25, 2018 at 06:39:27AM +0200, Christoph Hellwig wrote: > On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > > Patch series looks good. Definitely appreciate the cleanup. > > > > I can take it through my tree, or if not: > > > > Acked-by: Richard Kuo > > Please take it t

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Christoph Hellwig
On Tue, Jul 24, 2018 at 10:29:48PM -0500, Richard Kuo wrote: > Patch series looks good. Definitely appreciate the cleanup. > > I can take it through my tree, or if not: > > Acked-by: Richard Kuo Please take it through your tree, thanks! ___ iommu mai

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Richard Kuo
On Thu, Jul 19, 2018 at 05:56:33AM -0700, Christoph Hellwig wrote: > hexagon does all the required cache maintainance at dma map time, and none > at unmap time. It thus has to implement sync_single_for_device to match > the map cace for buffer reuse, but there is no point in doing another > invali

[PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-19 Thread Christoph Hellwig
hexagon does all the required cache maintainance at dma map time, and none at unmap time. It thus has to implement sync_single_for_device to match the map cace for buffer reuse, but there is no point in doing another invalidation in the sync_single_cpu_case, which in terms of cache maintainance is