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 > 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 bu

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:

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 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 wrote: >>> >>> Hi Marek, >>> >>> On Fri, Jan 23, 2015 at 04:51:10PM +0100, Marek Szyprow

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 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/ CONFIG_DMA_API_DEBUG=y + the module

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 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 after I'm done with

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 wrote: > On 16 April 2015 at 16:24, Suman Tripathi 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 be the exact value of swiotlb boot para

[PATCH] IOMMU: Removed checkpatch warnings for Missing a blank line after declarations

2015-04-17 Thread Robert Callicotte
Fixed checkpatch warnings for missing blank line after declaration of struct. Signed-off-by: Robert Callicotte --- drivers/iommu/iova.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c index 9dd8208..b7c3d92 100644 --- a/drivers/iommu/iova.c +++

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 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'

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 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, DRM and >>

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 th