[PATCH 2/3] powerpc: setup archdata for {of_}platform via a single platform_notify
Becky Bruce
beckyb at kernel.crashing.org
Sat Feb 21 07:44:51 EST 2009
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 <galak at kernel.crashing.org>
>
> Acked-by: Benjamin Krill <ben at codiert.org>
Tested on ppc 86xx, looks good.
Acked-by: Becky Bruce <beckyb at kernel.crashing.org>
-B
More information about the Linuxppc-dev
mailing list