]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b355c6c743cf055c779832b684c4784b3af2d71
treed5d2e854384b34335448ae1458e24602c7f8337a
parent55993cf2f121c522ac3e3f38c1109340dd360b8e
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