Re: [PATCH] arm64: fix CONFIG_ZONE_DMA on systems with no 32-bit addressable DRAM

2014-06-27 Thread Catalin Marinas
On Wed, Jun 25, 2014 at 01:26:02AM +0100, David Rientjes wrote: > On Mon, 23 Jun 2014, Mark Salter wrote: > > > Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if ZONE_DMA) > > forces the CMA buffer to be 32-bit addressable if CONFIG_ZONE_DMA is > > defined. This breaks CMA on platforms w

Re: [PATCH] arm64: fix CONFIG_ZONE_DMA on systems with no 32-bit addressable DRAM

2014-06-24 Thread David Rientjes
On Mon, 23 Jun 2014, Mark Salter wrote: > Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if ZONE_DMA) > forces the CMA buffer to be 32-bit addressable if CONFIG_ZONE_DMA is > defined. This breaks CMA on platforms with no 32-bit addressable DRAM. > This patch checks to make sure there is

[PATCH] arm64: fix CONFIG_ZONE_DMA on systems with no 32-bit addressable DRAM

2014-06-22 Thread Mark Salter
Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if ZONE_DMA) forces the CMA buffer to be 32-bit addressable if CONFIG_ZONE_DMA is defined. This breaks CMA on platforms with no 32-bit addressable DRAM. This patch checks to make sure there is 32-bit addressable DRAM before setting the 32-bit