summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2014-11-25 17:50:55 +0000
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:43 -0700
commit52d6bcee8dba7de673e5933dfa3114c15af0bd4a (patch)
tree053295404630dad96ece3f8ab3340f17cab93961 /include/uapi/linux
parentc8c4b81806d122426c859c1d8a6c9e6d94ee7e25 (diff)
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions