| commit | 3fc1ca00653db6371585e3c21c4b873b2f20e60a | [log] [tgz] |
|---|---|---|
| author | Lu Baolu <baolu.lu@linux.intel.com> | Fri Sep 06 14:14:48 2019 +0800 |
| committer | Joerg Roedel <jroedel@suse.de> | Wed Sep 11 12:34:29 2019 +0200 |
| tree | 0c6b5431d51319a078b036284c81ed12b7f55b54 | |
| parent | 2c70010867f164d1b30e787e360e05d10cc40046 [diff] |
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>