* [PATCH] ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791
@ 2014-02-05 5:36 Magnus Damm
2014-02-06 6:31 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2014-02-05 5:36 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Some on-chip devices on r8a7790 and r8a7791 can do
bus mastering and access more than 32-bits of address
space. Select ARCH_DMA_ADDR_T_64BIT when LPAE is set
in case of multiplatform and legacy SoC support.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Kconfig | 3 +++
1 file changed, 3 insertions(+)
--- 0001/arch/arm/mach-shmobile/Kconfig
+++ work/arch/arm/mach-shmobile/Kconfig 2014-02-04 17:04:53.000000000 +0900
@@ -13,6 +13,7 @@ config ARCH_SHMOBILE_MULTI
select ARM_GIC
select MIGHT_HAVE_CACHE_L2X0
select MIGHT_HAVE_PCI
+ select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
select NO_IOPORT
select PINCTRL
select ARCH_REQUIRE_GPIOLIB
@@ -126,6 +127,7 @@ config ARCH_R8A7790
select MIGHT_HAVE_PCI
select SH_CLK_CPG
select RENESAS_IRQC
+ select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
config ARCH_R8A7791
bool "R-Car M2 (R8A77910)"
@@ -135,6 +137,7 @@ config ARCH_R8A7791
select MIGHT_HAVE_PCI
select SH_CLK_CPG
select RENESAS_IRQC
+ select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
config ARCH_EMEV2
bool "Emma Mobile EV2"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791
2014-02-05 5:36 [PATCH] ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791 Magnus Damm
@ 2014-02-06 6:31 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2014-02-06 6:31 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 05, 2014 at 02:36:28PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Some on-chip devices on r8a7790 and r8a7791 can do
> bus mastering and access more than 32-bits of address
> space. Select ARCH_DMA_ADDR_T_64BIT when LPAE is set
> in case of multiplatform and legacy SoC support.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Thanks, I will queue this up.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-06 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 5:36 [PATCH] ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791 Magnus Damm
2014-02-06 6:31 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).