All of lore.kernel.org
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig
Date: Thu, 21 Mar 2013 13:19:43 -0500	[thread overview]
Message-ID: <514B4F3F.8000308@gmail.com> (raw)
In-Reply-To: <1363883179-1361-3-git-send-email-gregory.clement@free-electrons.com>

On 03/21/2013 11:26 AM, Gregory CLEMENT wrote:
> From: Lior Amsalem <alior@marvell.com>
> 
> 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 <alior@marvell.com>
> Tested-by: Franklin <flin@marvell.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  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
>  
> 

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robherring2@gmail.com>
To: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Lior Amsalem <alior@marvell.com>, Ike Pan <ike.pan@canonical.com>,
	David Marlin <dmarlin@redhat.com>,
	Yehuda Yitschak <yehuday@marvell.com>,
	Tawfik Bayouk <tawfik@marvell.com>,
	Dan Frazier <dann.frazier@canonical.com>,
	Eran Ben-Avi <benavi@marvell.com>,
	Leif Lindholm <leif.lindholm@arm.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Jon Masters <jcm@redhat.com>,
	devicetree-discuss@lists.ozlabs.org,
	Rob Herring <rob.herring@calxeda.com>,
	linux-arm-kernel@lists.infradead.org,
	Chris Van Hoof <vanhoof@canonical.com>,
	linux-kernel@vger.kernel.org, Maen Suleiman <maen@marvell.com>,
	Nadav Haklai <nadavh@marvell.com>,
	Shadi Ammouri <shadi@marvell.com>
Subject: Re: [PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig
Date: Thu, 21 Mar 2013 13:19:43 -0500	[thread overview]
Message-ID: <514B4F3F.8000308@gmail.com> (raw)
In-Reply-To: <1363883179-1361-3-git-send-email-gregory.clement@free-electrons.com>

On 03/21/2013 11:26 AM, Gregory CLEMENT wrote:
> From: Lior Amsalem <alior@marvell.com>
> 
> 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 <alior@marvell.com>
> Tested-by: Franklin <flin@marvell.com>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
>  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
>  
> 

  reply	other threads:[~2013-03-21 18:19 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21 16:26 [PATCH 0/5] arm: mvebu: Enable LPAE support for Armada XP SoCs Gregory CLEMENT
2013-03-21 16:26 ` Gregory CLEMENT
2013-03-21 16:26 ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 1/5] arm: mvebu: Aligne the internal registers virtual base to support LPAE Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 2/5] arm: mvebu: Select DMA_BOUNCE when LPAE is selected in Kconfig Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 18:19   ` Rob Herring [this message]
2013-03-21 18:19     ` Rob Herring
2013-03-21 19:18   ` Andrew Lunn
2013-03-21 19:18     ` Andrew Lunn
2013-03-21 19:18     ` Andrew Lunn
2013-03-22 11:32   ` Russell King - ARM Linux
2013-03-22 11:32     ` Russell King - ARM Linux
2013-03-22 11:32     ` Russell King - ARM Linux
     [not found]     ` <20130322113251.GB4977-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2013-03-23 19:48       ` Krzysztof Halasa
2013-03-21 16:26 ` [PATCH 3/5] arm: mvebu: Enable pj4b on LPAE compilations Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 4/5] arm: dts: Add a 64 bits version of the skeleton device tree Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26 ` [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 16:26   ` Gregory CLEMENT
2013-03-21 17:59   ` Rob Herring
2013-03-21 17:59     ` Rob Herring
2013-03-21 17:59     ` Rob Herring
2013-03-21 19:03     ` Arnd Bergmann
2013-03-21 19:03       ` Arnd Bergmann
2013-03-21 19:03       ` Arnd Bergmann
2013-03-21 19:18       ` Thomas Petazzoni
2013-03-21 19:18         ` Thomas Petazzoni
2013-03-21 19:18         ` Thomas Petazzoni
2013-03-21 21:31         ` Arnd Bergmann
2013-03-21 21:31           ` Arnd Bergmann
2013-03-21 21:31           ` Arnd Bergmann
2013-03-21 22:30           ` Sebastian Hesselbarth
2013-03-21 22:30             ` Sebastian Hesselbarth
2013-03-21 22:30             ` Sebastian Hesselbarth
2013-03-21 20:15   ` Andrew Lunn
2013-03-21 20:15     ` Andrew Lunn
2013-03-21 20:15     ` Andrew Lunn
2013-03-21 20:22     ` Thomas Petazzoni
2013-03-21 20:22       ` Thomas Petazzoni
2013-03-21 20:22       ` Thomas Petazzoni
2013-03-21 20:30       ` Jason Cooper
2013-03-21 20:30         ` Jason Cooper
2013-03-21 20:30         ` Jason Cooper
2013-03-21 20:37       ` Andrew Lunn
2013-03-21 20:37         ` Andrew Lunn
2013-03-21 20:37         ` Andrew Lunn
2013-03-21 21:08         ` Thomas Petazzoni
2013-03-21 21:08           ` Thomas Petazzoni
2013-03-21 21:08           ` Thomas Petazzoni
2013-03-21 21:16         ` Thomas Petazzoni
2013-03-21 21:16           ` Thomas Petazzoni
2013-03-21 21:16           ` Thomas Petazzoni
2013-03-21 20:55       ` Jason Gunthorpe
2013-03-21 20:55         ` Jason Gunthorpe
2013-03-21 20:55         ` Jason Gunthorpe
2013-03-21 21:15         ` Thomas Petazzoni
2013-03-21 21:15           ` Thomas Petazzoni
2013-03-21 21:15           ` Thomas Petazzoni
2013-03-21 21:35           ` Lior Amsalem
2013-03-21 21:35             ` Lior Amsalem
2013-03-21 21:46             ` Jason Gunthorpe
2013-03-21 21:46               ` Jason Gunthorpe
2013-03-21 21:58               ` Lior Amsalem
2013-03-21 21:58                 ` Lior Amsalem
2013-03-22  6:55                 ` Arnd Bergmann
2013-03-22  6:55                   ` Arnd Bergmann
2013-03-21 21:41           ` Jason Gunthorpe
2013-03-21 21:41             ` Jason Gunthorpe
2013-03-21 21:41             ` Jason Gunthorpe
2013-03-21 22:26             ` Sebastian Hesselbarth
2013-03-21 22:26               ` Sebastian Hesselbarth
2013-03-21 22:26               ` Sebastian Hesselbarth
2013-03-22  9:55             ` Arnd Bergmann
2013-03-22  9:55               ` Arnd Bergmann
2013-03-21 21:25         ` Andrew Lunn
2013-03-21 21:25           ` Andrew Lunn
2013-03-22  6:28         ` Andrew Lunn
2013-03-22  6:28           ` Andrew Lunn
2013-03-22 17:43           ` Jason Gunthorpe
2013-03-22 17:43             ` Jason Gunthorpe
2013-03-22 19:33             ` Arnd Bergmann
2013-03-22 19:33               ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514B4F3F.8000308@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.