From patchwork Thu Jun 26 20:49:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 4432291 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 66640BEEAA for ; Thu, 26 Jun 2014 20:54:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B1A7720379 for ; Thu, 26 Jun 2014 20:54:05 +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 E98692018E for ; Thu, 26 Jun 2014 20:54:04 +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 1X0GeX-00030O-Q4; Thu, 26 Jun 2014 20:52:17 +0000 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0Gcs-0001qb-N9 for linux-arm-kernel@lists.infradead.org; Thu, 26 Jun 2014 20:50:35 +0000 Received: by mail-wi0-f173.google.com with SMTP id cc10so1775376wib.0 for ; Thu, 26 Jun 2014 13:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wJBy9wGY7pZbqnYTmkNk+BvL2z19s5eC9Fm8RPg+RPw=; b=ld2blcCqAH5YZjajz+DPat2v4qBvbhyedT+OhVrcvAk5f2hhC6G1ep/4bYVJleXAd+ iqCcqhxt4u3TCxrIABB5qxgkLB3YSnOy3UQ5wpQ+zuM0vR/79m/jU1GWYwe36toepqXq oqh1fhnGndL3qhdP0y0fChlGsBRT/Vd6IrkMoLl4Fxi7Eyrel5BEYqy2rbmPyygkuSYk /WjS8CvKvbbqKTYmgO0ZH2t5WljqT6Qe/p6cLDTanyiZGFJdaKZEv6JNq6d44BPUPn7L 0FzXtSt1i1FBGrOdUpbNuAo3BIMDG+jxLYFlBB77wfbwA6MBeMY78+WDAdYoCc01QFGh v5sA== X-Received: by 10.180.74.82 with SMTP id r18mr6969018wiv.62.1403815811266; Thu, 26 Jun 2014 13:50:11 -0700 (PDT) Received: from localhost (port-12740.pppoe.wtnet.de. [84.46.49.245]) by mx.google.com with ESMTPSA id f6sm16720928wja.25.2014.06.26.13.50.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jun 2014 13:50:10 -0700 (PDT) From: Thierry Reding To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Warren , Arnd Bergmann , Will Deacon , Joerg Roedel Subject: [RFC 08/10] ARM: tegra: Select ARM_DMA_USE_IOMMU Date: Thu, 26 Jun 2014 22:49:48 +0200 Message-Id: <1403815790-8548-9-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403815790-8548-1-git-send-email-thierry.reding@gmail.com> References: <1403815790-8548-1-git-send-email-thierry.reding@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_135034_960025_E958579D X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: Olav Haugan , devicetree@vger.kernel.org, Grant Grundler , Rhyland Klein , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Marc Zyngier , Allen Martin , Paul Walmsley , linux-tegra@vger.kernel.org, Cho KyongHo , Dave Martin , linux-arm-kernel@lists.infradead.org, Hiroshi Doyu 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 From: Thierry Reding This enables IOMMU interoperation with the DMA mapping API so that clients that use the DMA mapping API can seemlessly make use of an existing IOMMU. Signed-off-by: Thierry Reding --- arch/arm/mach-tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index a52d96366919..20bc43975bde 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -2,6 +2,7 @@ menuconfig ARCH_TEGRA bool "NVIDIA Tegra" if ARCH_MULTI_V7 select ARCH_REQUIRE_GPIOLIB select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS + select ARM_DMA_USE_IOMMU select ARM_GIC select CLKSRC_MMIO select HAVE_ARM_SCU if SMP