Re: [PATCH kernel 07/15] powerpc/iommu: Cleanup iommu_table disposal

2016-08-11 Thread David Gibson
On Wed, Aug 03, 2016 at 06:40:48PM +1000, Alexey Kardashevskiy wrote: > At the moment iommu_table could be disposed by either calling > iommu_table_free() directly or it_ops::free() which only implementation > for IODA2 calls iommu_table_free() anyway. > > As we are going to have reference countin

[PATCH kernel 07/15] powerpc/iommu: Cleanup iommu_table disposal

2016-08-03 Thread Alexey Kardashevskiy
At the moment iommu_table could be disposed by either calling iommu_table_free() directly or it_ops::free() which only implementation for IODA2 calls iommu_table_free() anyway. As we are going to have reference counting on tables, we need an unified way of disposing tables. This moves it_ops::fre