Re: [PATCH kernel v10 08/34] vfio: powerpc/spapr: Use it_page_size

2015-05-12 Thread Gavin Shan
On Tue, May 12, 2015 at 01:38:57AM +1000, Alexey Kardashevskiy wrote: >This makes use of the it_page_size from the iommu_table struct >as page size can differ. > >This replaces missing IOMMU_PAGE_SHIFT macro in commented debug code >as recently introduced IOMMU_PAGE_XXX macros do not include >IOMMU

[PATCH kernel v10 08/34] vfio: powerpc/spapr: Use it_page_size

2015-05-11 Thread Alexey Kardashevskiy
This makes use of the it_page_size from the iommu_table struct as page size can differ. This replaces missing IOMMU_PAGE_SHIFT macro in commented debug code as recently introduced IOMMU_PAGE_XXX macros do not include IOMMU_PAGE_SHIFT. Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson