[RFC PATCH] ARM: mm: ADD descriptor string to CONFIG_DMA_ADDR_64BIT_T

Cyril Chemparathy cyril at ti.com
Wed Sep 12 08:46:18 EDT 2012


On 9/12/2012 1:50 AM, R Sricharan wrote:
> Even if CONFIG_DMA_ADDR_64BIT_T is enabled by the defconfig,
> the feature is not getting selected.
> Adding a string description in the Kconfig resolves this.
>
> But not sure if this is the right way to fix this.
>

Shouldn't you be selecting this in your 64-bit dma address capable arch 
instead?

> Signed-off-by: R Sricharan <r.sricharan at ti.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> ---
>   arch/arm/mm/Kconfig |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> index 101b968..90c5ea4 100644
> --- a/arch/arm/mm/Kconfig
> +++ b/arch/arm/mm/Kconfig
> @@ -601,7 +601,7 @@ config ARCH_PHYS_ADDR_T_64BIT
>   	def_bool ARM_LPAE
>
>   config ARCH_DMA_ADDR_T_64BIT
> -	bool
> +	bool "64bit capable DMA device"
>
>   config ARM_THUMB
>   	bool "Support Thumb user binaries"
>

-- 
Thanks
- Cyril



More information about the linux-arm-kernel mailing list