mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
iommu: skip iommu_tlb_sync in iommu_unmap()
Downstream arm-smmu impl, perform SYNC as part of unmap(). This is done under arm_smmu_tlb_inv_context_s1. This double the sync operation. This impacts the unmap time, remove this duplicate sync operation. Change-Id: Ic98fc04a8102fe3a0b79e52b33daabf94732fcbf Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
This commit is contained in:
parent
0afd6cbeae
commit
4ca0be7a2c
1 changed files with 0 additions and 1 deletions
|
|
@ -2030,7 +2030,6 @@ size_t iommu_unmap(struct iommu_domain *domain,
|
|||
|
||||
iommu_iotlb_gather_init(&iotlb_gather);
|
||||
ret = __iommu_unmap(domain, iova, size, &iotlb_gather);
|
||||
iommu_tlb_sync(domain, &iotlb_gather);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue