From: Chris Clayton <chris2553@googlemail.com>
To: LKML <linux-kernel@vger.kernel.org>, will.deacon@arm.com
Subject: [PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only
Date: Sun, 15 Feb 2015 11:17:19 +0000 [thread overview]
Message-ID: <54E0803F.5080707@googlemail.com> (raw)
When running "make oldconfig" for an x86_64 kernel, I was prompted for a setting for IOMMU_IO_PGTABLE_LPAE. From the
prompt and the help text it appears that this config item is relevant to ARMv7/v8 only. This patch prevents the prompt
on non-ARM architectures. Compile tested building a cross-compiled x86_64 kernel in an x86 user space. The resultant
kernel boots fine and I am running it now.
Fixes: e1d3c0fd701df831169b116cd5c5d6203ac07f70
Cc: will.deacon@arm.com
Signed-off-by: Chris Clayton <chris2553@googlemail.com>
--- linux/drivers/iommu/Kconfig.orig 2015-02-15 09:44:01.235927248 +0000
+++ linux/drivers/iommu/Kconfig 2015-02-15 09:44:41.131926434 +0000
@@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE
config IOMMU_IO_PGTABLE_LPAE
bool "ARMv7/v8 Long Descriptor Format"
+ depends on ARM || ARM64
select IOMMU_IO_PGTABLE
help
Enable support for the ARM long descriptor pagetable format.
next reply other threads:[~2015-02-15 11:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 11:17 Chris Clayton [this message]
2015-02-16 16:32 ` [PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only Will Deacon
2015-02-16 19:25 ` Chris Clayton
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=54E0803F.5080707@googlemail.com \
--to=chris2553@googlemail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=will.deacon@arm.com \
/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