Linux IOMMU Development
 help / color / mirror / Atom feed
From: "Vincent Stehlé" <vincent.stehle@laposte.net>
To: laurent.pinchart@ideasonboard.com
Cc: iommu@lists.linux-foundation.org, linux-next@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	"Vincent Stehlé" <vincent.stehle@laposte.net>,
	"Will Deacon" <will.deacon@arm.com>
Subject: [PATCH v3 linux-next] iommu: Enable LPAE pagetable on ARM and ARM64 only
Date: Tue, 24 Feb 2015 01:20:21 +0100	[thread overview]
Message-ID: <1424737221-1193-1-git-send-email-vincent.stehle@laposte.net> (raw)
In-Reply-To: <3203874.zEMjzr0PS0@avalon>

LPAE iommu page table makes sense only for ARM and ARM64 architectures. Add the
corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as per
Laurent's suggestion).

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Will Deacon <will.deacon@arm.com>
---


On 02/24/2015 01:02 AM, Laurent Pinchart wrote:
> Shouldn't this be ARM || ARM64 || COMPILE_TEST ?

Hi Laurent,

It makes perfect sense; thanks. I completely forgot, as I have yet to see one
of those. Here is v3 of the patch.

Best regards,

V.


Changes since v2:
- Add condition on ARM64

Changes since v1:
- Add condition on COMPILE_TEST


 drivers/iommu/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index baa0d97..a440922 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE
 
 config IOMMU_IO_PGTABLE_LPAE
 	bool "ARMv7/v8 Long Descriptor Format"
+	depends on ARM || ARM64 || COMPILE_TEST
 	select IOMMU_IO_PGTABLE
 	help
 	  Enable support for the ARM long descriptor pagetable format.
-- 
2.1.4

  reply	other threads:[~2015-02-24  0:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-22 16:09 [PATCH linux-next] iommu: Enable LPAE pagetable on ARM only Vincent Stehlé
     [not found] ` <1424621346-7822-1-git-send-email-vincent.stehle-QFKgK+z4sOrR7s880joybQ@public.gmane.org>
2015-02-23 16:52   ` Laurent Pinchart
2015-02-23 23:36     ` Vincent Stehlé
2015-02-23 23:55     ` [PATCH v2 " Vincent Stehlé
2015-02-23 23:58       ` Laurent Pinchart
2015-02-24  0:02         ` Laurent Pinchart
2015-02-24  0:20           ` Vincent Stehlé [this message]
2015-02-24  0:23             ` [PATCH v3 linux-next] iommu: Enable LPAE pagetable on ARM and ARM64 only Laurent Pinchart
2015-02-25  9:59               ` Will Deacon
2015-02-24 10:33     ` [PATCH linux-next] iommu: Enable LPAE pagetable on ARM only Geert Uytterhoeven
2015-02-25 10:00       ` Will Deacon

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=1424737221-1193-1-git-send-email-vincent.stehle@laposte.net \
    --to=vincent.stehle@laposte.net \
    --cc=iommu@lists.linux-foundation.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@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