summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2014-11-25 18:50:55 +0100
committerJoerg Roedel <jroedel@suse.de>2014-12-02 13:05:04 +0100
commit18f23409909a9547ac7c149013286f36fcffa433 (patch)
tree898b6a507099ba1e47184462bacb9c7990f4ca51 /drivers/iommu/omap-iommu.c
parentpowerpc/iommu: Rename iommu_[un]map_sg functions (diff)
downloadlinux-18f23409909a9547ac7c149013286f36fcffa433.tar.xz
linux-18f23409909a9547ac7c149013286f36fcffa433.zip
iommu: Decouple iommu_map_sg from CPU page size
If the IOMMU supports pages smaller than the CPU page size, segments which lie at offsets within the CPU page may be mapped based on the finer-grained IOMMU page boundaries. This minimises the amount of non-buffer memory between the CPU page boundary and the start of the segment which must be mapped and therefore exposed to the device, and brings the default iommu_map_sg implementation in line with iommu_map/unmap with respect to alignment. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions