Re: [PATCH kernel v11 04/34] powerpc/iommu: Put IOMMU group explicitly

2015-05-31 Thread David Gibson
On Fri, May 29, 2015 at 06:44:28PM +1000, Alexey Kardashevskiy wrote: > So far an iommu_table lifetime was the same as PE. Dynamic DMA windows > will change this and iommu_free_table() will not always require > the group to be released. > > This moves iommu_group_put() out of iommu_free_table(). >

[PATCH kernel v11 04/34] powerpc/iommu: Put IOMMU group explicitly

2015-05-29 Thread Alexey Kardashevskiy
So far an iommu_table lifetime was the same as PE. Dynamic DMA windows will change this and iommu_free_table() will not always require the group to be released. This moves iommu_group_put() out of iommu_free_table(). This adds a iommu_pseries_free_table() helper which does iommu_group_put() and i