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

David Miller davem at davemloft.net
Fri Jun 9 00:24:05 AEST 2017


From: Christoph Hellwig <hch at lst.de>
Date: Thu,  8 Jun 2017 15:25:53 +0200

> Usually dma_supported decisions are done by the dma_map_ops instance.
> Switch sparc to that model by providing a ->dma_supported instance for
> sbus that always returns false, and implementations tailored to the sun4u
> and sun4v cases for sparc64, and leave it unimplemented for PCI on
> sparc32, which means always supported.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list