Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752358AbbBXAUm (ORCPT ); Mon, 23 Feb 2015 19:20:42 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:20985 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751959AbbBXAUk (ORCPT ); Mon, 23 Feb 2015 19:20:40 -0500 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= 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, =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Will Deacon Subject: [PATCH v3 linux-next] iommu: Enable LPAE pagetable on ARM and ARM64 only Date: Tue, 24 Feb 2015 01:20:21 +0100 Message-Id: <1424737221-1193-1-git-send-email-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <3203874.zEMjzr0PS0@avalon> References: <3203874.zEMjzr0PS0@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 53 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é Suggested-by: Laurent Pinchart Cc: Will Deacon --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/