diff options
author | Yong Wu <yong.wu@mediatek.com> | 2021-01-07 15:29:03 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-01-27 15:32:26 +0300 |
commit | d8c1df02ac7f2c802a9b2afc0f5c888c4217f1d5 (patch) | |
tree | 96e1436a420509b22d3062f046ebc0524383b562 /scripts/generate_rust_analyzer.py | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | linux-d8c1df02ac7f2c802a9b2afc0f5c888c4217f1d5.tar.xz |
iommu: Move iotlb_sync_map out from __iommu_map
In the end of __iommu_map, It alway call iotlb_sync_map.
This patch moves iotlb_sync_map out from __iommu_map since it is
unnecessary to call this for each sg segment especially iotlb_sync_map
is flush tlb all currently. Add a little helper _iommu_map for this.
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210107122909.16317-2-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions