Commit f8e82824 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Stanimir Varbanov
Browse files

arm64: dma-mapping: map sg lists into the SMMU as virtually contiguous



In arm_iommu_map_sg, currently we map each individual link in the given
scatterlist into the SMMU individually such that they may or may not be
virtually contiguous.  However, in most (all?) of our use cases we
actually want the entire sg list mapped into the SMMU as a single
contiguous range.  Use iommu_map_range to accomplish this.

Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
[Forward Ported this from msm3.14]
Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
[added iommu_map_range in generic dma code]
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
parent 8cdd2424
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment