Re: [PATCH] iommu: Split iommu_unmaps

2013-11-20 Thread David Woodhouse
On Mon, 2013-11-11 at 16:09 -0700, Alex Williamson wrote: > On Thu, 2013-11-07 at 16:37 +, David Woodhouse wrote: > > On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: > > > iommu_map splits requests into pages that the iommu driver reports > > > that it can handle. The iommu_unmap pat

Re: [PATCH] iommu: Split iommu_unmaps

2013-11-11 Thread Alex Williamson
On Thu, 2013-11-07 at 16:37 +, David Woodhouse wrote: > On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: > > iommu_map splits requests into pages that the iommu driver reports > > that it can handle. The iommu_unmap path does not do the same. This > > can cause problems not only from

Re: [PATCH] iommu: Split iommu_unmaps

2013-11-07 Thread David Woodhouse
On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: > iommu_map splits requests into pages that the iommu driver reports > that it can handle. The iommu_unmap path does not do the same. This > can cause problems not only from callers that might expect the same > behavior as the map path, bu

[PATCH] iommu: Split iommu_unmaps

2013-05-24 Thread Alex Williamson
iommu_map splits requests into pages that the iommu driver reports that it can handle. The iommu_unmap path does not do the same. This can cause problems not only from callers that might expect the same behavior as the map path, but even from the failure path of iommu_map, should it fail at a poi