Re: [PATCH] swiotlb: Update the comment of swiotlb

2018-05-09 Thread Konrad Rzeszutek Wilk
On Wed, May 09, 2018 at 01:39:57PM +0200, Christoph Hellwig wrote: > On Wed, May 09, 2018 at 05:08:30PM +0800, Yisheng Xie wrote: > > Hi Christoph, > > > > On 2018/5/9 15:38, Christoph Hellwig wrote: > > > Thanks, > > > > > > applied to the dma-mapping tree. > > > > Thanks > > > > BTW, should l

[PATCH 1/2] alpha: use dma_direct_ops for jensen

2018-05-09 Thread Christoph Hellwig
The generic dma_direct implementation does the same thing as the alpha pci-noop implementation, just with more bells and whistles. And unlike the current code it at least has a theoretical chance to actually compile. Signed-off-by: Christoph Hellwig --- arch/alpha/Kconfig | 1

[PATCH 2/2] alpha: simplify get_arch_dma_ops

2018-05-09 Thread Christoph Hellwig
Remove the dma_ops indirection. Signed-off-by: Christoph Hellwig --- arch/alpha/include/asm/dma-mapping.h | 4 ++-- arch/alpha/kernel/pci_iommu.c| 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/alpha/include/asm/dma-mapping.h b/arch/alpha/include/asm/dma-map

two alpha dma cleanups/fixes

2018-05-09 Thread Christoph Hellwig
jenses appears to be broken, but patch 1 might unbreak it while getting rid of a dma_map_ops instance (which іs my real goal here), patch two just cleans up the dma boilerplate code a bit. ___ iommu mailing list iommu@lists.linux-foundation.org https://

Re: [PATCH v4 05/22] iommu: introduce iommu invalidate API function

2018-05-09 Thread Jacob Pan
On Tue, 8 May 2018 11:35:00 +0100 Jean-Philippe Brucker wrote: > Hi Jacob, > > Looks mostly good to me, I just have a couple more comments > > On 04/05/18 19:07, Jacob Pan wrote: > > Now the passdown invalidation granularities look like: > > (sorted by coarseness), will send out in v5 patchset

Re: [PATCH] swiotlb: Update the comment of swiotlb

2018-05-09 Thread Christoph Hellwig
On Wed, May 09, 2018 at 05:08:30PM +0800, Yisheng Xie wrote: > Hi Christoph, > > On 2018/5/9 15:38, Christoph Hellwig wrote: > > Thanks, > > > > applied to the dma-mapping tree. > > Thanks > > BTW, should lib/swiotlb.c also add to DMA MAPPING HELPERS, or > add yourself as a maintainer of SWIOTL

Re: [PATCH] swiotlb: Update the comment of swiotlb

2018-05-09 Thread Yisheng Xie
Hi Christoph, On 2018/5/9 15:38, Christoph Hellwig wrote: > Thanks, > > applied to the dma-mapping tree. Thanks BTW, should lib/swiotlb.c also add to DMA MAPPING HELPERS, or add yourself as a maintainer of SWIOTLB SUBSYSTEM ? It will make get_maintainer.pl get you :) Thanks Yisheng > > . >

Re: [PATCH] swiotlb: Update the comment of swiotlb

2018-05-09 Thread Christoph Hellwig
Thanks, applied to the dma-mapping tree. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu