diff options
| author | Liam Mark <lmark@codeaurora.org> | 2017-02-24 11:32:17 -0800 |
|---|---|---|
| committer | Liam Mark <lmark@codeaurora.org> | 2017-03-02 09:20:58 -0800 |
| commit | 37a29f1605993040e3f21fa2fb51e14d9de11e65 (patch) | |
| tree | aeb32971bb6502638b64fa77731283b73700b3f5 /tools/perf/scripts/python | |
| parent | 98094e2149dad0658346d504edde8aac9a921500 (diff) | |
arm64: dma-mapping: optimize unmap coherency check
Change arm_iommu_unmap_page to check the DMA attributes for buffer
coherency support instead of checking the iommu page table.
This change now requires that clients correctly set the
DMA_ATTR_FORCE_COHERENT or DMA_ATTR_FORCE_NON_COHERENT DMA
attributes in their unmap call if they used it with their map call.
This will improve the performance of the arm_iommu_unmap_page
call.
Change-Id: Ie96ef0a1906a8732b7b1eef7bed8aa85abee95f4
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
