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

From: David Miller
Date: Thu Jun 08 2017 - 10:24:16 EST


From: Christoph Hellwig <hch@xxxxxx>
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@xxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>