commit | a1b10277530d4df09feffe9243f766aef945684e | [log] [tgz] |
---|---|---|
author | Bin Wang <binw@marvell.com> | Fri Mar 21 18:06:07 2014 +0800 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Wed Apr 09 13:28:58 2014 +0100 |
tree | ca920002b10c25eada7bf22768338d5303e19fb9 | |
parent | 455c6fdbd219161bd09b1165f11699d6d73de11c [diff] |
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. Cc: Will Deacon <will.deacom@arm.com> Signed-off-by: Bin Wang <binw@marvell.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>