# \[PATCH v2 5/7\] iommu/dma: Respect bus DMA limit for IOVAs

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2018-07-26 08:58:21 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2018/07/8771603
- Thread: https://ratatoskr.run/linux-arm-kernel/2018/07/8771456/t.md

```text
On Mon, Jul 23, 2018 at 11:16:10PM +0100, Robin Murphy wrote:
> Bonus question: Now that we're collecing DMA API code in kernel/dma/
> do we want to reevaluate dma-iommu? On the one hand it's the bulk of a
> dma_ops implementation so should perhaps move, but on the other it's
> entirely IOMMU-specific code so should perhaps stay where it is... :/

I think drivers/iommu/ is the right place for it.  Higher priorities
would be to actually make it a complete dma_map_ops implementation,
which should be doable by next merge window, and to actually use it
for non-arm(64) iommu drivers..
```
