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

Commit bbca324f authored by Liam Mark's avatar Liam Mark Committed by David Keitel
Browse files

iommu/io-pgtable: fix __arm_lpae_free_pgtable leak



When unmapping 2MB mappings, which are 2MB aligned, the smmu driver
is leaking the 3rd level page tables.
Fix this leak by updating __arm_lpae_free_pgtable so that it no
longer leaks leaf table entries.

To reproduce this leak simply map and unmap a non-block 2MB mapping
which is 2MB aligned.

Change-Id: Ibdbdb084ceb8d03ebe0a04e8777e3eb9419e9b87
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 837edfc2
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