Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-25 Thread Joerg Roedel
On Wed, Sep 12, 2018 at 04:24:11PM +0100, Robin Murphy wrote: > Robin Murphy (3): > iommu: Add fast hook for getting DMA domains > iommu/dma: Use fast DMA domain lookup > arm64/dma-mapping: Mildly optimise non-coherent IOMMU ops Applied, thanks Robin.

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-20 Thread John Garry
On 17/09/2018 12:20, John Garry wrote: On 14/09/2018 13:48, Will Deacon wrote: Hi Robin, Hi Robin, I just spoke with Dongdong and we will test this version also so that we may provide a "Tested-by" tag. I tested this, so for series: Tested-by: John Garry Thanks, John Thanks, John

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-18 Thread Tom Murphy
>Not sure how fast Tom needs the common dma-iommu code for the x86 AMD iommu >conversion. I am currently busy working on something else and won't be able to do/test the x86 AMD iommu conversion anytime soon. So I don't need the common dma-iommu code anytime soon. On 17 September 2018 at 14:33,

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-17 Thread Christoph Hellwig
On Fri, Sep 14, 2018 at 01:48:59PM +0100, Will Deacon wrote: > > As far as merging goes, I don't mind at all whether this goes via IOMMU, > > or via dma-mapping provided Joerg's happy to ack it. > > I think it makes most sense for Joerg to take this series via his tree. FYI, I have WIP patches

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-17 Thread John Garry
On 14/09/2018 13:48, Will Deacon wrote: Hi Robin, Hi Robin, I just spoke with Dongdong and we will test this version also so that we may provide a "Tested-by" tag. Thanks, John On Wed, Sep 12, 2018 at 04:24:11PM +0100, Robin Murphy wrote: John raised the issue[1] that we have some

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-14 Thread Will Deacon
Hi Robin, On Wed, Sep 12, 2018 at 04:24:11PM +0100, Robin Murphy wrote: > John raised the issue[1] that we have some unnecessary refcount contention > in the DMA ops path which shows scalability problems now that we have more > real high-performance hardware using iommu-dma. The x86 IOMMU drivers

[PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-12 Thread Robin Murphy
John raised the issue[1] that we have some unnecessary refcount contention in the DMA ops path which shows scalability problems now that we have more real high-performance hardware using iommu-dma. The x86 IOMMU drivers are sidestepping this by stashing domain references in archdata, but since