[PATCHv2] arm64: Align CMA sizes to PAGE_SIZE
catalin.marinas at arm.com
Wed Feb 5 05:28:50 EST 2014
On Tue, Feb 04, 2014 at 11:08:57PM +0000, Laura Abbott wrote:
> dma_alloc_from_contiguous takes number of pages for a size.
> Align up the dma size passed in to page size to avoid truncation
> and allocation failures on sizes less than PAGE_SIZE.
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Laura Abbott <lauraa at codeaurora.org>
More information about the linux-arm-kernel