On Feb 19, 2009, at 4:08 PM, Benjamin Krill wrote:

* Kumar Gala | 2009-02-19 14:49:16 [-0600]:

Since a number of powerpc chips are SoCs we end up having dma-able
devices that are registered as platform or of_platform devices. We need
to hook the archdata to setup proper dma_ops for these devices.

In the short term the majority of these devices only need the
direct_dma_ops as the platforms don't have any IOMMUs.

In the future to enable >4G DMA support on ppc32 we can hook swiotlb ops.

Signed-off-by: Kumar Gala <ga...@kernel.crashing.org>

Acked-by: Benjamin Krill <b...@codiert.org>

Tested on ppc 86xx, looks good.

Acked-by: Becky Bruce <bec...@kernel.crashing.org>

-B

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to