summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-05-15 12:40:44 +0200
committerJoerg Roedel <jroedel@suse.de>2014-05-26 11:22:23 +0200
commit251dac410d29c8ab432034e67472a53b6c3e497e (patch)
tree7340ffa51712ba369c5fa3d49225c497b4ef7d52 /drivers/iommu
parentiommu/ipmmu-vmsa: Refactor micro-TLB lookup (diff)
downloadlinux-251dac410d29c8ab432034e67472a53b6c3e497e.tar.xz
linux-251dac410d29c8ab432034e67472a53b6c3e497e.zip
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>
Diffstat (limited to 'drivers/iommu')
-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 = {
.iova_to_phys = ipmmu_iova_to_phys,
.add_device = ipmmu_add_device,
.remove_device = ipmmu_remove_device,
- .pgsize_bitmap = SZ_1M | SZ_64K | SZ_4K,
+ .pgsize_bitmap = SZ_2M | SZ_64K | SZ_4K,
};
/* -----------------------------------------------------------------------------