From patchwork Wed Jun 22 10:16:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 904282 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5MAGkcI025192 for ; Wed, 22 Jun 2011 10:16:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755071Ab1FVKQP (ORCPT ); Wed, 22 Jun 2011 06:16:15 -0400 Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13]:13132 "EHLO TX2EHSOBE005.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754192Ab1FVKQN (ORCPT ); Wed, 22 Jun 2011 06:16:13 -0400 Received: from mail26-tx2-R.bigfish.com (10.9.14.250) by TX2EHSOBE005.bigfish.com (10.9.40.25) with Microsoft SMTP Server id 14.1.225.22; Wed, 22 Jun 2011 10:16:11 +0000 Received: from mail26-tx2 (localhost.localdomain [127.0.0.1]) by mail26-tx2-R.bigfish.com (Postfix) with ESMTP id E8D0C1A000AF; Wed, 22 Jun 2011 10:16:11 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzz8275bhz32i668h839h65h) X-Spam-TCS-SCL: 4:0 X-Forefront-Antispam-Report: CIP:163.181.249.109; KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp02.amd.com; RD:none; EFVD:NLI Received: from mail26-tx2 (localhost.localdomain [127.0.0.1]) by mail26-tx2 (MessageSwitch) id 1308737771716617_6215; Wed, 22 Jun 2011 10:16:11 +0000 (UTC) Received: from TX2EHSMHS047.bigfish.com (unknown [10.9.14.237]) by mail26-tx2.bigfish.com (Postfix) with ESMTP id A8FF714004B; Wed, 22 Jun 2011 10:16:11 +0000 (UTC) Received: from ausb3twp02.amd.com (163.181.249.109) by TX2EHSMHS047.bigfish.com (10.9.99.147) with Microsoft SMTP Server id 14.1.225.22; Wed, 22 Jun 2011 10:16:11 +0000 X-WSS-ID: 0LN6SIX-02-27U-02 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp02.amd.com (Axway MailGate 3.8.1) with ESMTP id 26581C83BB; Wed, 22 Jun 2011 05:16:08 -0500 (CDT) Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Wed, 22 Jun 2011 05:16:56 -0500 Received: from storexhtp02.amd.com (172.24.4.4) by sausexhtp01.amd.com (163.181.3.165) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 22 Jun 2011 05:16:09 -0500 Received: from gwo.osrc.amd.com (165.204.16.204) by storexhtp02.amd.com (172.24.4.4) with Microsoft SMTP Server id 8.3.83.0; Wed, 22 Jun 2011 06:16:09 -0400 Received: from lemmy.osrc.amd.com (lemmy.osrc.amd.com [165.204.15.93]) by gwo.osrc.amd.com (Postfix) with ESMTP id 36D5249C5E5; Wed, 22 Jun 2011 11:16:08 +0100 (BST) Received: by lemmy.osrc.amd.com (Postfix, from userid 1000) id B929AFFB0B; Wed, 22 Jun 2011 12:16:48 +0200 (CEST) From: Joerg Roedel To: Ohad Ben-Cohen CC: , , , , , , , , Joerg Roedel Subject: [PATCH 1/2] iommu: Move iommu Kconfig entries to submenu Date: Wed, 22 Jun 2011 12:16:45 +0200 Message-ID: <1308737806-2658-2-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1308737806-2658-1-git-send-email-joerg.roedel@amd.com> References: <1307742947-32118-1-git-send-email-ohad@wizery.com> <1308737806-2658-1-git-send-email-joerg.roedel@amd.com> MIME-Version: 1.0 X-OriginatorOrg: amd.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 22 Jun 2011 10:16:47 +0000 (UTC) For better navigation this patch moves the drivers/iommu drivers into its own submenu in Kconfig. Signed-off-by: Joerg Roedel --- drivers/iommu/Kconfig | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index e2a5f14..b57b3fa 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -2,6 +2,17 @@ config IOMMU_API bool +menuconfig IOMMU_SUPPORT + bool "IOMMU Hardware Support" + default y + ---help--- + Say Y here if you want to compile device drivers for IO Memory + Management Units into the kernel. These devices usually allow to + remap DMA requests and/or remap interrupts from other devices on the + system. + +if IOMMU_SUPPORT + # MSM IOMMU support config MSM_IOMMU bool "MSM IOMMU Support" @@ -95,3 +106,5 @@ config INTR_REMAP Supports Interrupt remapping for IO-APIC and MSI devices. To use x2apic mode in the CPU's which support x2APIC enhancements or to support platforms with CPU's having > 8 bit APIC ID, say Y. + +endif # IOMMU_SUPPORT