Skip to contentSkip to conversation

ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791

PATCH New Magnus Damm 2 participants 2 messages Feb 5, 2014 – Feb 6, 2014

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791

From: Magnus Damm <[email protected]>

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.

---

 arch/arm/mach-shmobile/Kconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-shmobile/Kconfig +3 -0
@@ -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"
#1 lore raw

PATCH 1/1 ARM: shmobile: Use 64-bit dma_addr_t on r8a7790/r8a7791

Quoted 8 lines · Magnus Damm

From: Magnus Damm <[email protected]>

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.

Thanks, I will queue this up.