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

Skip to content
Commit c765bad7 authored by Prakash Gupta's avatar Prakash Gupta
Browse files

iommu: arm-smmu: skip tlb flush during unmap



With fragmented physical memory, mappings are generated of lower granule.
This increases the unmap latency of large buffers.  When not supporting
demand paging in smmu, unmap can defer the invalidation till next map.
This change aggregates invalidations across multiple unmaps till a new
mapping is created on that context. The new mapping can be using an iova
previously unmapped hence the stale TLB can cause issue. Hence invalidate
the TLB during map.

Change-Id: I1d64227ca075067a43075729ba26be684126d679
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent aa01bdf5
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