linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] ARM: dma: default ZONE_DMA to y if ARM_LPAE
@ 2013-07-26 13:05 Will Deacon
  2013-08-11 21:51 ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Will Deacon @ 2013-07-26 13:05 UTC (permalink / raw)
  To: linux-arm-kernel

On systems running with LPAE enabled, DMA masters capable only of 32-bit
addressing require ZONE_DMA to be set. Given the proliferation of such
masters, and the tendency to re-use existing system IP with newer
processors, this patch defaults ZONE_DMA to y if ARM_LPAE, rather than
force each SoC to select it individually.

Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 82f06982..7fede35 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -192,6 +192,7 @@ config ARCH_MAY_HAVE_PC_FDC
 
 config ZONE_DMA
 	bool
+	default y if ARM_LPAE
 
 config NEED_DMA_MAP_STATE
        def_bool y
-- 
1.8.2.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-11 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 13:05 [RFC PATCH] ARM: dma: default ZONE_DMA to y if ARM_LPAE Will Deacon
2013-08-11 21:51 ` Olof Johansson
2013-08-11 22:05   ` Russell King - ARM Linux
2013-08-11 22:14     ` Olof Johansson
2013-08-11 22:19       ` Russell King - ARM Linux

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).