Re: OMAP and MSM IOMMU driver misbehavior

2012-01-24 Thread Stepan Moskovchenko
On 1/23/2012 6:03 AM, Joerg Roedel wrote: Hi, while reviewing another IOMMU driver again I came across a problem in the IOMMU drivers for OMAP and MSM platforms. In both drivers the 'domain_destroy with devices attached' case isn't handled correctly. OMAP driver seems not to track the devices a

Re: OMAP and MSM IOMMU driver misbehavior

2012-01-23 Thread Ohad Ben-Cohen
Hi Joerg, On Mon, Jan 23, 2012 at 4:03 PM, Joerg Roedel wrote: > Please tell me when I mis-read the code, otherwise please fix this in > your drivers so that we can get consistent behavior for IOMMU-API > users :-) I'm a bit tied up with some schedule I have to meet this week, but I'll definitel

OMAP and MSM IOMMU driver misbehavior

2012-01-23 Thread Joerg Roedel
Hi, while reviewing another IOMMU driver again I came across a problem in the IOMMU drivers for OMAP and MSM platforms. In both drivers the 'domain_destroy with devices attached' case isn't handled correctly. OMAP driver seems not to track the devices attached to a domain at all. So when a domain