[PATCH v5] arm DMA: Fix allocation from CMA for coherent DMA

Catalin Marinas catalin.marinas at arm.com
Wed Jul 1 04:12:51 PDT 2015


On Tue, Jun 30, 2015 at 11:29:06PM +0200, Lorenzo Nava wrote:
> This patch allows the use of CMA for DMA coherent memory allocation.
> At the moment if the input parameter "is_coherent" is set to true
> the allocation is not made using the CMA, which I think is not the
> desired behaviour.
> 
> Signed-off-by: Lorenzo Nava <lorenx4 at gmail.com>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>

If Russell doesn't have any objections, you can send the patch to
his patch system. See here for more information:

http://www.arm.linux.org.uk/developer/patches/info.php

Or, if you are into git aliases (I haven't used this alias recently):

[alias]
	send-rmk-patch = !GIT_EDITOR=\"sed -i -e \\\"s/^---$/---\\nKernelVersion: $(git describe --abbrev=0 --match=\"v*\")\\n/\\\"\" git send-email --annotate --no-thread --suppress-cc=all --to="patches at arm.linux.org.uk"

Just make sure you send one at a time if you have a series. E.g. for the
top commit:

	git send-rmk-patch HEAD^

-- 
Catalin



More information about the linux-arm-kernel mailing list