[PATCH 3/5] ARM: highbank: enable DMA zone for LPAE

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Aug 5 20:11:27 EDT 2013


On Mon, Aug 05, 2013 at 05:50:07PM -0500, Rob Herring wrote:
> From: Rob Herring <rob.herring at calxeda.com>
> 
> Some devices are restricted to 32-bit DMA. Thus the platform dma_zone_size
> needs to be set. Otherwise dma-mapping code is complaining, e.g.
> 
> calxedaxgmac fff50000.ethernet: coherent DMA mask 0xffffffff is smaller
> than system GFP_DMA mask 0xffffffffffffffff

Note that the patches I posted last week will fix that in a much nicer
way, as we will only error if we actually have sufficient memory that
the condition becomes problematical.

The other problem here is that we need to get better separation between
what's a bus address and what's a physical address.



More information about the linux-arm-kernel mailing list