Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1630108 > unrolled thread

[PATCH] ARM: tegra: Select appropriate DMA options for LPAE

Started byPaul Kocialkowski <contact@paulk.fr>
First post2017-04-25 01:10 +0200
Last post2017-04-25 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: tegra: Select appropriate DMA options for LPAE Paul Kocialkowski <contact@paulk.fr> - 2017-04-25 01:10 +0200

#1630108 — [PATCH] ARM: tegra: Select appropriate DMA options for LPAE

FromPaul Kocialkowski <contact@paulk.fr>
Date2017-04-25 01:10 +0200
Subject[PATCH] ARM: tegra: Select appropriate DMA options for LPAE
Message-ID<tzVhf-4Us-13@gated-at.bofh.it>
This automatically selects options for zone DMA and 64 bit DMA addresses
when LPAE is enabled on ARM Tegra platforms. These options are required
for proper operation with LPAE enabled.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 arch/arm/mach-tegra/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 329f01c5b6f8..c8368d647741 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -13,5 +13,7 @@ menuconfig ARCH_TEGRA
 	select ARCH_HAS_RESET_CONTROLLER
 	select RESET_CONTROLLER
 	select SOC_BUS
+	select ZONE_DMA if ARM_LPAE
+	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
 	help
 	  This enables support for NVIDIA Tegra based systems.
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web