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. Change-Id: Iea59975d5a63b548779b16095cc6c83565750398 Signed-off-by:Bin Wang <binw@marvell.com> Signed-off-by:
Will Deacon <will.deacon@arm.com> Git-commit: aca1bc4595c5757f01167ab5bfef2a4f8edfcf4f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Mitchel Humpherys <mitchelh@codeaurora.org>
Loading
Please register or sign in to comment