Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Ilya Yanok
Hi Ben, Benjamin Herrenschmidt wrote: >> btw, ioremap doesn't provide useful 'caller'). >> > > I fixed that :-) (see patches I posted to the list, though that's > waiting for a patch to go upstream first that adds a > __get_vm_area_caller() that I need for ppc64). > Yep, I saw them. Btw,

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Benjamin Herrenschmidt
> btw, ioremap doesn't provide useful 'caller'). I fixed that :-) (see patches I posted to the list, though that's waiting for a patch to go upstream first that adds a __get_vm_area_caller() that I need for ppc64). Cheers, Ben. ___ Linuxppc-dev mailin

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Ilya Yanok
Hi Ben, excuse me for so long time to reply. Benjamin Herrenschmidt wrote: >> This patch rewrites consistent dma allocations support to use vmalloc >> layer to allocate virtual memory space from vmalloc pool and get rid >> of CONFIG_CONSISTENT_{START,SIZE}. >> > > So as commented before, ple

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-03 Thread Benjamin Herrenschmidt
On Fri, 2009-01-09 at 15:58 +0300, Ilya Yanok wrote: > This patch rewrites consistent dma allocations support to use vmalloc > layer to allocate virtual memory space from vmalloc pool and get rid > of CONFIG_CONSISTENT_{START,SIZE}. So as commented before, please drop the defconfig updates. I'm h

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-01-11 Thread Josh Boyer
On Sat, Jan 10, 2009 at 05:31:19PM -0700, Grant Likely wrote: >On Fri, Jan 9, 2009 at 5:58 AM, Ilya Yanok wrote: >> This patch rewrites consistent dma allocations support to use vmalloc >> layer to allocate virtual memory space from vmalloc pool and get rid >> of CONFIG_CONSISTENT_{START,SIZE}. >

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-01-10 Thread Grant Likely
On Fri, Jan 9, 2009 at 5:58 AM, Ilya Yanok wrote: > This patch rewrites consistent dma allocations support to use vmalloc > layer to allocate virtual memory space from vmalloc pool and get rid > of CONFIG_CONSISTENT_{START,SIZE}. Impressive patch. I'll pull it into my tree and see how it works o

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-01-10 Thread Benjamin Herrenschmidt
On Fri, 2009-01-09 at 15:58 +0300, Ilya Yanok wrote: > This patch rewrites consistent dma allocations support to use vmalloc > layer to allocate virtual memory space from vmalloc pool and get rid > of CONFIG_CONSISTENT_{START,SIZE}. Ah good, I like that. I haven't reviewed in details yet but that'

[PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-01-09 Thread Ilya Yanok
This patch rewrites consistent dma allocations support to use vmalloc layer to allocate virtual memory space from vmalloc pool and get rid of CONFIG_CONSISTENT_{START,SIZE}. Signed-off-by: Ilya Yanok --- arch/powerpc/Kconfig | 25 -- arch/powerpc/configs/40x/acadia_de