From: Bin Wang Date: Fri, 21 Mar 2014 10:06:07 +0000 (+0000) Subject: iommu/arm-smmu: fix panic in arm_smmu_alloc_init_pte X-Git-Tag: omap-for-v3.16/pm-signed~69^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca1bc4595c5757f01167ab5bfef2a4f8edfcf4f;p=pandora-kernel.git iommu/arm-smmu: fix panic in arm_smmu_alloc_init_pte kernel panic happened when iommu_unmap a buffer larger than 2MB, more than expected pmd entries got “invalidated”, due to a wrong range passed to arm_smmu_alloc_init_pte. it was likely a typo, now we fix it, passing the correct "end" address to arm_smmu_alloc_init_pte. Signed-off-by: Bin Wang Signed-off-by: Will Deacon --- Reading git-diff-tree failed