[PATCH 2/3] powerpc: setup archdata for {of_}platform via a single platform_notify

Benjamin Krill ben at codiert.org
Fri Feb 20 09:08:20 EST 2009


* 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 <galak at kernel.crashing.org>

Acked-by: Benjamin Krill <ben at codiert.org>



More information about the Linuxppc-dev mailing list