[RFC PATCH 13/18] ARM: LPAE: ensure dma_addr_t is the same size as phys_addr_t

Arnd Bergmann arnd at arndb.de
Mon Oct 25 07:08:23 EDT 2010


On Monday 25 October 2010, Catalin Marinas wrote:
> From: Will Deacon <will.deacon at arm.com>
> 
> Now that phys_addr_t can be 64-bit on ARM, we must ensure that dma_addr_t
> is sufficiently large to hold physical addresses.
> 
> This patch uses the types.h implementation in asm-generic to define the
> dma_addr_t type as the same width as phys_addr_t.
> 
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>

This patch will become obsolete once the "unify dma_addr_t typedef"
series from Fujita Tomonori is upstream, you will instead have to set
CONFIG_ARCH_DMA_ADDR_T_64BIT.

	Arnd




More information about the linux-arm-kernel mailing list