aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-15 06:40:44 -0400
committerJoerg Roedel <jroedel@suse.de>2014-05-26 05:22:23 -0400
commit251dac410d29c8ab432034e67472a53b6c3e497e (patch)
tree7340ffa51712ba369c5fa3d49225c497b4ef7d52
parent192d2045707b25b984436eabfbfd3c8f1ada5a56 (diff)
iommu/ipmmu-vmsa: Fix the supported page sizes
The hardware supports 2MB page sizes, not 1MB. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r--drivers/iommu/ipmmu-vmsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 1949f3c55679..0fd322dcb4eb 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -957,7 +957,7 @@ static struct iommu_ops ipmmu_ops = {
957 .iova_to_phys = ipmmu_iova_to_phys, 957 .iova_to_phys = ipmmu_iova_to_phys,
958 .add_device = ipmmu_add_device, 958 .add_device = ipmmu_add_device,
959 .remove_device = ipmmu_remove_device, 959 .remove_device = ipmmu_remove_device,
960 .pgsize_bitmap = SZ_1M | SZ_64K | SZ_4K, 960 .pgsize_bitmap = SZ_2M | SZ_64K | SZ_4K,
961}; 961};
962 962
963/* ----------------------------------------------------------------------------- 963/* -----------------------------------------------------------------------------