Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bc0a59ec authored by Bin Wang's avatar Bin Wang Committed by Mitchel Humpherys
Browse files

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: default avatarBin Wang <binw@marvell.com>
Signed-off-by: default avatarWill 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: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent af027230
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment