Re: Trouble with R-Car IPMMU and DMAC (help needed)

2015-01-24 Thread Laurent Pinchart
Hello, I've tried once more to fix the IPMMU problem I've reported 6 months ago, without much more luck than last time. Here's a bit more information in the hope it could ring a bell, somewhere. A quick summary first. I want to enable IOMMU support for the R-Car Gen2 system DMA controller (DMAC).

[PATCH] iommu/ipmmu-vmsa: Fix IOMMU lookup when multiple IOMMUs are registered

2015-01-24 Thread Laurent Pinchart
When adding a new device the driver loops over all registered IOMMUs and calls the ipmmu_find_utlbs() function to parse the DT iommus attribute. The function returns an error when the IOMMU referenced in DT doesn't match the current IOMMU. The caller incorrectly breaks from the loop immediately whe