Re: SMMU 2-stage support

2015-04-17 Thread Will Deacon
On Thu, Apr 16, 2015 at 04:46:59PM +0100, Stuart Yoder wrote: So, whilst it's great that you're looking at the code, I'm not very keen on merging anything until we have people committed to using it. Right now, the only feedback I've had has been going in the para-virt

Re: [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-04-17 Thread Marek Szyprowski
Hello, On 2015-04-17 16:33, Javier Martinez Canillas wrote: Hello Marek, On Wed, Feb 4, 2015 at 3:21 PM, Joerg Roedel j...@8bytes.org wrote: Hi Marek, On Fri, Jan 23, 2015 at 04:51:10PM +0100, Marek Szyprowski wrote: 1. All iommu related patches (with 'iommu: exynos') can be merged to iommu

Re: [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-04-17 Thread Javier Martinez Canillas
Hello Marek, On Wed, Feb 4, 2015 at 3:21 PM, Joerg Roedel j...@8bytes.org wrote: Hi Marek, On Fri, Jan 23, 2015 at 04:51:10PM +0100, Marek Szyprowski wrote: 1. All iommu related patches (with 'iommu: exynos') can be merged to iommu tree. They don't have any direct dependencies on the DTS,

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-17 Thread Dorian Gray
On 16 April 2015 at 20:42, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: And easier way is to compile the kernel with CONFIG_DMA_API_DEBUG and then load the attached module. That should tell you who and what else is holding on the buffers. Thanks, this will be my next step then, right

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-17 Thread Dorian Gray
On 16 April 2015 at 18:57, Dorian Gray yourfavourite...@gmail.com wrote: On 16 April 2015 at 16:24, Suman Tripathi stripa...@apm.com wrote: Try increasing the SWIOTLB size to 128MB .Default is 64MB. Ok, so I'm back to k3.18.7 (default in the latest Fatdog), although I'm not sure what should

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-17 Thread Dorian Gray
On 16 April 2015 at 20:42, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: And easier way is to compile the kernel with CONFIG_DMA_API_DEBUG and then load the attached module. That should tell you who and what else is holding on the buffers. Ok, I have compiled 3.19.4 w/

Re: [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-04-17 Thread Javier Martinez Canillas
Hello Marek, On Fri, Apr 17, 2015 at 4:48 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 2015-04-17 16:33, Javier Martinez Canillas wrote: Hello Marek, On Wed, Feb 4, 2015 at 3:21 PM, Joerg Roedel j...@8bytes.org wrote: Hi Marek, On Fri, Jan 23, 2015 at 04:51:10PM

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-17 Thread Konrad Rzeszutek Wilk
On Fri, Apr 17, 2015 at 05:14:20PM +0200, Dorian Gray wrote: On 16 April 2015 at 20:42, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: And easier way is to compile the kernel with CONFIG_DMA_API_DEBUG and then load the attached module. That should tell you who and what else is

Re: [PATCH] iommu: rockchip: fix build without CONFIG_OF

2015-04-17 Thread Heiko Stübner
Am Freitag, 10. April 2015, 23:58:24 schrieb Arnd Bergmann: The rockchip iommu driver references its of_device_id table from the init function, which fails to build when the table is undefined: iommu/rockchip-iommu.c: In function 'rk_iommu_init': iommu/rockchip-iommu.c:1029:35: error: