# Re: \[PATCH 28/44\] sparc: remove arch specific dma\_supported implementations

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2017-06-16 08:47:07 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/06/5022479
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/06/5016133/t.md

```text
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.
```
