iommu/dma: add a new dma_map_ops of get_merge_boundary()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 28 Aug 2019 12:35:41 +0000 (21:35 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 3 Sep 2019 06:33:06 +0000 (08:33 +0200)
commit158a6d3ce3bcfcd6e6650f80b16efcf64f8b6bf8
treed5d2e854384b34335448ae1458e24602c7f8337a
parent6ba99411b858bd70bae966633561e698cd6de38c
iommu/dma: add a new dma_map_ops of get_merge_boundary()

This patch adds a new dma_map_ops of get_merge_boundary() to
expose the DMA merge boundary if the domain type is IOMMU_DOMAIN_DMA.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/iommu/dma-iommu.c