10 Nov, 2011
2 commits
-
Let the IOMMU core know we support 4KiB, 64KiB, 1MiB and 16MiB page sizes.
This way the IOMMU core can split any arbitrary-sized physically
contiguous regions (that it needs to map) as needed.Signed-off-by: Ohad Ben-Cohen
Acked-by: David Brown
Cc: Stepan Moskovchenko
Signed-off-by: Joerg Roedel -
Express sizes in bytes rather than in page order, to eliminate the
size->order->size conversions we have whenever the IOMMU API is calling
the low level drivers' map/unmap methods.Adopt all existing drivers.
Signed-off-by: Ohad Ben-Cohen
Cc: David Brown
Cc: David Woodhouse
Cc: Joerg Roedel
Cc: Stepan Moskovchenko
Cc: KyongHo Cho
Cc: Hiroshi DOYU
Cc: Laurent Pinchart
Signed-off-by: Joerg Roedel
21 Oct, 2011
1 commit
-
Convert the MSM IOMMU driver for ARM to use the new
interface for publishing the iommu_ops.Acked-by: David Brown
Signed-off-by: Joerg Roedel
05 Sep, 2011
1 commit
-
Users of the IOMMU API (kvm specifically) assume that iommu_unmap()
returns the order of the unmapped page (on success).Fix msm_iommu_unmap() accordingly.
Signed-off-by: Ohad Ben-Cohen
Cc: Stepan Moskovchenko
Cc: David Brown
Acked-by: David Brown
Signed-off-by: Joerg Roedel
21 Jun, 2011
1 commit
-
This should ease finding similarities with different platforms,
with the intention of solving problems once in a generic framework
which everyone can use.Compile-tested for MSM8X60.
Signed-off-by: Ohad Ben-Cohen
Acked-by: David Brown
Signed-off-by: Joerg Roedel