On Fri, Mar 06, 2020 at 03:02:09PM +0100, Ulf Hansson wrote: > That makes sense to me, but we also have other bus types to consider, > like the amba bus for example. > > So, in principle, those buses that may get DMA capable devices > attached, needs to do the allocation, that's what you are proposing? Having a dma_params allocated doesn't mean all devices are dma capable, for example there are PCI devices that aren't as well.