Re: [PATCH v2 2/5] dma-direct: add dma_direct_bypass() to force direct ops

2020-11-14 Thread Christoph Hellwig
So despite a week long wait I'e only received this patch from the series. Please resend the whole series if you want a review. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

Re: [PATCHv7 2/7] iommu/arm-smmu: Add domain attribute for system cache

2020-11-14 Thread Sai Prakash Ranjan
On 2020-11-12 15:05, Will Deacon wrote: On Wed, Nov 11, 2020 at 12:10:50PM +0530, Sai Prakash Ranjan wrote: On 2020-11-10 17:48, Will Deacon wrote: > On Fri, Oct 30, 2020 at 02:53:09PM +0530, Sai Prakash Ranjan wrote: > > Add iommu domain attribute for using system cache aka last level > > cache

Re: [PATCH kernel v4 2/2] powerpc/dma: Fallback to dma_ops when persistent memory present

2020-11-14 Thread Christoph Hellwig
On Thu, Oct 29, 2020 at 12:52:41PM +1100, Alexey Kardashevskiy wrote: > +EXPORT_SYMBOL_GPL(arch_dma_map_page_direct); I've dropped the unused exports and applied the series to dma-mapping-for-next. ___ iommu mailing list iommu@lists.linux-foundation.org

Re: [PATCH] dma-pool: no need to check return value of debugfs_create functions

2020-11-14 Thread Christoph Hellwig
Thanks, applied. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

[RESEND PATCH v2 0/5] drm/msm: support for host-cached BOs

2020-11-14 Thread Jonathan Marek
v2: - added patches 2/3 to enable using dma_ops_bypass - changed DRM_MSM_GEM_SYNC_CACHE patch to use dma_sync_sg_for_device() and dma_sync_sg_for_cpu(), and renamed sync flags. Not sure I did the right thing with for the dma_ops_bypass part, this is what I came up with reading the emails. Jo

[RESEND PATCH v2 2/5] dma-direct: add dma_direct_bypass() to force direct ops

2020-11-14 Thread Jonathan Marek
Add a function to force direct ops and disable swiotlb for a deivce. Signed-off-by: Jonathan Marek --- include/linux/dma-direct.h | 9 + kernel/dma/direct.c| 23 +++ 2 files changed, 32 insertions(+) diff --git a/include/linux/dma-direct.h b/include/linux/dm

Re: [RESEND PATCH v2 2/5] dma-direct: add dma_direct_bypass() to force direct ops

2020-11-14 Thread Christoph Hellwig
On Sat, Nov 14, 2020 at 10:17:10AM -0500, Jonathan Marek wrote: > Add a function to force direct ops and disable swiotlb for a deivce. s/deivce/device/ > +#if IS_ENABLED(CONFIG_DMA_OPS_BYPASS) && > !IS_ENABLED(CONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED) overly long line. > +#if IS_ENABLED(CONFIG_DM

Re: [PATCH v3 1/2] dma-mapping: add benchmark support for streaming DMA APIs

2020-11-14 Thread Christoph Hellwig
Lots of > 80 char lines. Please fix up the style. I think this needs to set a dma mask as behavior for unlimited dma mask vs the default 32-bit one can be very different. I also think you need to be able to pass the direction or have different tests for directions. bidirectional is not exactly

RE: [PATCH v3 1/2] dma-mapping: add benchmark support for streaming DMA APIs

2020-11-14 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Christoph Hellwig [mailto:h...@lst.de] > Sent: Sunday, November 15, 2020 5:54 AM > To: Song Bao Hua (Barry Song) > Cc: iommu@lists.linux-foundation.org; h...@lst.de; robin.mur...@arm.com; > m.szyprow...@samsung.com; Linuxarm ; > linux-kselft...@vger.kernel.o