Re: [PATCH v5 05/10] swiotlb: Split size parameter to map/unmap APIs
From: Christoph Hellwig
Date: Thu Jul 25 2019 - 14:05:49 EST
On Thu, Jul 25, 2019 at 11:17:12AM +0800, Lu Baolu wrote:
> 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@xxxxxx>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Looks good,
Reviewed-by: Christoph Hellwig <hch@xxxxxx>