Re: powerpc: DMA coherent allocations broken for CONFIG_NOT_COHERENT_CACHE
From: Sean MacLennan <hidden>
Date: 2009-05-28 04:11:55
From: Sean MacLennan <hidden>
Date: 2009-05-28 04:11:55
On Thu, 28 May 2009 13:52:29 +1000 Benjamin Herrenschmidt [off-list ref] wrote:
Can't you set ISA_DMA_THRESHOLD = ~0L from your warp.c platform file ?
I actually set it in the driver proper since it is faster to test, but it works. I am just wondering how kosher that is. The advantage of the platform_device is I can go back to using the top level function. And I suspect down the road the __dma* functions may require a real device. However, the ISA_DMA_THRESHOLD = ~0L is a less intrusive patch. Cheers, Sean