From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] ARM: dma: default ZONE_DMA to y if ARM_LPAE
Date: Fri, 26 Jul 2013 14:05:51 +0100 [thread overview]
Message-ID: <1374843951-1615-1-git-send-email-will.deacon@arm.com> (raw)
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
next reply other threads:[~2013-07-26 13:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-26 13:05 Will Deacon [this message]
2013-08-11 21:51 ` [RFC PATCH] ARM: dma: default ZONE_DMA to y if ARM_LPAE 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
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=1374843951-1615-1-git-send-email-will.deacon@arm.com \
--to=will.deacon@arm.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 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).