aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorGravatar Lu Baolu <baolu.lu@linux.intel.com> 2019-09-06 14:14:48 +0800
committerGravatar Joerg Roedel <jroedel@suse.de> 2019-09-11 12:34:29 +0200
commit3fc1ca00653db6371585e3c21c4b873b2f20e60a (patch)
tree0c6b5431d51319a078b036284c81ed12b7f55b54 /drivers/iommu
parentiommu/vt-d: Fix wrong analysis whether devices share the same bus (diff)
downloadlinux-3fc1ca00653db6371585e3c21c4b873b2f20e60a.tar.gz
linux-3fc1ca00653db6371585e3c21c4b873b2f20e60a.tar.bz2
linux-3fc1ca00653db6371585e3c21c4b873b2f20e60a.zip
swiotlb: Split size parameter to map/unmap APIs
This splits the size parameter to swiotlb_tbl_map_single() and swiotlb_tbl_unmap_single() into an alloc_size and a mapping_size parameter, where the latter one is rounded up to the iommu page size. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions