Re: [PATCH kernel 05/10] powerpc/powernv/npu: Use the correct IOMMU page size

2016-03-20 Thread Alistair Popple
Thanks for fixing Alexey! On Wed, 9 Mar 2016 17:29:01 Alexey Kardashevskiy wrote: > This uses the page size from iommu_table instead of hard-coded 4K. > This should cause no change in behavior. > > While we are here, move bits around to prepare for further rework > which will define and use iommu

Re: [PATCH kernel 05/10] powerpc/powernv/npu: Use the correct IOMMU page size

2016-03-09 Thread David Gibson
On Wed, Mar 09, 2016 at 05:29:01PM +1100, Alexey Kardashevskiy wrote: > This uses the page size from iommu_table instead of hard-coded 4K. > This should cause no change in behavior. > > While we are here, move bits around to prepare for further rework > which will define and use iommu_table_group_

[PATCH kernel 05/10] powerpc/powernv/npu: Use the correct IOMMU page size

2016-03-08 Thread Alexey Kardashevskiy
This uses the page size from iommu_table instead of hard-coded 4K. This should cause no change in behavior. While we are here, move bits around to prepare for further rework which will define and use iommu_table_group_ops. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/n