[PATCH 28/44] sparc: remove arch specific dma_supported implementations

Christoph Hellwig hch at lst.de
Fri Jun 16 18:47:01 AEST 2017


On Fri, Jun 09, 2017 at 12:22:48AM +1000, Julian Calaby wrote:
> I'm guessing there's a few places that have DMA ops but DMA isn't
> actually supported. Why not have a common method for this, maybe
> "dma_not_supported"?

It's not common at all.  Except for sbus all dma API user first
call set_dma_mask which ends up in the dma_supported call.  sbus
is the weird outlier here.


More information about the Linuxppc-dev mailing list