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

Josh Boyer jwboyer at linux.vnet.ibm.com
Mon Jan 12 11:47:31 EST 2009


On Sat, Jan 10, 2009 at 05:31:19PM -0700, Grant Likely wrote:
>On Fri, Jan 9, 2009 at 5:58 AM, Ilya Yanok <yanok at emcraft.com> 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 on
>4xx and 5200.

Doing my job for me now?  ;)

>BTW, you can drop all the defconfig updates in this patch.  The old
>config values will just disappear when 'make *_defconfig' is run.
>Putting them in the patch makes it far more likely that it won't apply
>at a later date.

Yes, totally agreed.  I update the 4xx defconfigs every release, so
they will get changed when I do that.

As Ben said, this is probably too late for .29, but definitely seems
like the right way to go.

josh



More information about the Linuxppc-dev mailing list