From patchwork Mon Feb 23 23:55:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 5868521 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BBCCDBF440 for ; Mon, 23 Feb 2015 23:58:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 076AF204D6 for ; Mon, 23 Feb 2015 23:58:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E717204E0 for ; Mon, 23 Feb 2015 23:58:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ2rH-000348-9N; Mon, 23 Feb 2015 23:56:15 +0000 Received: from smtp3-g21.free.fr ([212.27.42.3]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YQ2r4-0002t9-7I for linux-arm-kernel@lists.infradead.org; Mon, 23 Feb 2015 23:56:04 +0000 Received: from romuald.bergerie (unknown [88.178.86.202]) by smtp3-g21.free.fr (Postfix) with ESMTP id 7E01CA6214; Tue, 24 Feb 2015 00:55:28 +0100 (CET) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with SMTP id D7C8A8C834F; Tue, 24 Feb 2015 00:55:37 +0100 (CET) Received: by radicelle.bergerie (sSMTP sendmail emulation); Tue, 24 Feb 2015 00:55:37 +0100 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= To: laurent.pinchart@ideasonboard.com Subject: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only Date: Tue, 24 Feb 2015 00:55:21 +0100 Message-Id: <1424735721-32313-1-git-send-email-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.1.4 In-Reply-To: <2868840.GyWYJOzqWH@avalon> References: <2868840.GyWYJOzqWH@avalon> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150223_155602_478352_49E1ADBB X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Will Deacon , linux-kernel@vger.kernel.org, =?UTF-8?q?Vincent=20Stehl=C3=A9?= , iommu@lists.linux-foundation.org, linux-next@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP LPAE iommu page table makes sense only for ARM architecture. 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 Acked-by: Laurent Pinchart --- 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..27cd88d 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 || COMPILE_TEST select IOMMU_IO_PGTABLE help Enable support for the ARM long descriptor pagetable format.