diff options
| author | Alexey Kardashevskiy <[email protected]> | 2015-06-05 06:35:00 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2015-06-11 05:14:55 +0000 |
| commit | 00663d4ee05dafe97033003fd5479cf9efd4bf96 (patch) | |
| tree | fe1e1bff8a43570ad720b6392865b733cec8730a /arch/powerpc/sysdev/dart_iommu.c | |
| parent | vfio: powerpc/spapr: Check that IOMMU page is fully contained by system page (diff) | |
| download | kernel-00663d4ee05dafe97033003fd5479cf9efd4bf96.tar.gz kernel-00663d4ee05dafe97033003fd5479cf9efd4bf96.zip | |
vfio: powerpc/spapr: Use it_page_size
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 <[email protected]>
Reviewed-by: David Gibson <[email protected]>
[aw: for the vfio related changes]
Acked-by: Alex Williamson <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
