Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222717

Re: [PATCH] arm64: dma-mapping: check whether cma area is initialized or not

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: dma-mapping: check whether cma area is initialized or not
Date 2015-09-11 13:10 +0200
Message-ID <q7uno-8bA-31@gated-at.bofh.it> (permalink)
References <q7rpw-3It-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 11, 2015 at 03:49:47PM +0800, Jisheng Zhang wrote:
> If CMA is turned on and CMA size is set to zero, kernel should
> behave as if CMA was not enabled at compile time.
> Every dma allocation should check existence of cma area
> before requesting memory.
> 
> Arm has done this by commit e464ef16c4f0 ("arm: dma-mapping: add
> checking cma area initialized"), also do this for arm64.
> 
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

Will should pick this up for 4.3.

Thanks.

-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: dma-mapping: check whether cma area is initialized or not Jisheng Zhang <jszhang@marvell.com> - 2015-09-11 10:00 +0200
  Re: [PATCH] arm64: dma-mapping: check whether cma area is  initialized or not Catalin Marinas <catalin.marinas@arm.com> - 2015-09-11 13:10 +0200
    Re: [PATCH] arm64: dma-mapping: check whether cma area is  initialized or not Will Deacon <will.deacon@arm.com> - 2015-09-11 13:10 +0200

csiph-web