[PATCH v2] dma-mapping: treat dev->bus_dma_mask as a DMA limit

Christoph Hellwig hch at lst.de
Mon Nov 25 18:44:12 AEDT 2019


On Sat, Nov 23, 2019 at 09:51:08AM -0700, Nathan Chancellor wrote:
> Just as an FYI, this introduces a warning on arm32 allyesconfig for me:

I think the dma_limit argument to iommu_dma_alloc_iova should be a u64
and/or we need to use min_t and open code the zero exception.

Robin, Nicolas - any opinions?

Also I wonder how this file gets compiled on arm32 given that arm32
has its own set of iommu dma ops..


More information about the Linuxppc-dev mailing list