From: Laurent Pinchart Date: Thu, 15 May 2014 10:40:44 +0000 (+0200) Subject: iommu/ipmmu-vmsa: Fix the supported page sizes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=251dac410d29c8ab432034e67472a53b6c3e497e;p=linux-beck.git iommu/ipmmu-vmsa: Fix the supported page sizes The hardware supports 2MB page sizes, not 1MB. Signed-off-by: Laurent Pinchart Signed-off-by: Joerg Roedel --- 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, }; /* -----------------------------------------------------------------------------