Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752464Ab3CUSTs (ORCPT ); Thu, 21 Mar 2013 14:19:48 -0400 Received: from mail-oa0-f44.google.com ([209.85.219.44]:47635 "EHLO mail-oa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751753Ab3CUSTq (ORCPT ); Thu, 21 Mar 2013 14:19:46 -0400 Message-ID: <514B4F3F.8000308@gmail.com> Date: Thu, 21 Mar 2013 13:19:43 -0500 From: Rob Herring User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: Gregory CLEMENT CC: Jason Cooper , Andrew Lunn , Lior Amsalem , Ike Pan , David Marlin , Yehuda Yitschak , Tawfik Bayouk , Dan Frazier , Eran Ben-Avi , Leif Lindholm , Sebastian Hesselbarth , Jon Masters , devicetree-discuss@lists.ozlabs.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Chris Van Hoof , linux-kernel@vger.kernel.org, Maen Suleiman , Nadav Haklai , Shadi Ammouri Subject: Re: [PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig References: <1363883179-1361-1-git-send-email-gregory.clement@free-electrons.com> <1363883179-1361-3-git-send-email-gregory.clement@free-electrons.com> In-Reply-To: <1363883179-1361-3-git-send-email-gregory.clement@free-electrons.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 37 On 03/21/2013 11:26 AM, Gregory CLEMENT wrote: > From: Lior Amsalem > > For mvebu IOs are 32 bits and we have 40 bits memory due to LPAE so > make sure we give 32 bits addresses to the IOs. > > Signed-off-by: Lior Amsalem > Tested-by: Franklin > Signed-off-by: Gregory CLEMENT > --- > arch/arm/mach-mvebu/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig > index 440b13e..617da94 100644 > --- a/arch/arm/mach-mvebu/Kconfig > +++ b/arch/arm/mach-mvebu/Kconfig > @@ -13,6 +13,7 @@ config ARCH_MVEBU > select MVEBU_CLK_CORE > select MVEBU_CLK_CPU > select MVEBU_CLK_GATING > + select DMABOUNCE if ARM_LPAE This alone is not enough to use bounce buffers. Am I missing something? Rob > > if ARCH_MVEBU > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/