From patchwork Wed Jun 15 12:04:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shunqian Zheng X-Patchwork-Id: 9178331 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B34AD6021C for ; Wed, 15 Jun 2016 12:10:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3C1D27C26 for ; Wed, 15 Jun 2016 12:10:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9877927DA4; Wed, 15 Jun 2016 12:10:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5462D27C26 for ; Wed, 15 Jun 2016 12:10:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C6B4E6E907; Wed, 15 Jun 2016 12:10:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f67.google.com (mail-pa0-f67.google.com [209.85.220.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id 91DB76E8FF for ; Wed, 15 Jun 2016 12:08:05 +0000 (UTC) Received: by mail-pa0-f67.google.com with SMTP id us13so1442958pab.1 for ; Wed, 15 Jun 2016 05:08:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tQBnrHZnoZORnY1UwDRmu4/+Akeh+x7uG8b9eEB1hEs=; b=BYtyL9/vNPIhAVbFyDeK4HcK6xq3byihdD/3WF5Vc5RU3NptH6qLwKsvOpix7vtdE8 jK+h5gUmRGylQ6GQ3KMvoDuJIlbOnURy2UMudSuyQ+4I1N74F7yMXlwB2aLcsjtWl009 qoFS6ZwvhHLDuAwowbbxuOEJTP0q24SMHmAIehOBQYdAr3Hs5k0BcWKNJZ43b0J2i3yF Dog6EbaY8DCqz4Zwy48s6yn9jfHo72HMOj4Vt3sZwZd4a2mIDCVhPLIvaYwfQhAjk+aa 4Fma5dkv6dsrKKcwNSePSysBb64/gApUJPqXFaAI22Uak3J/PHOEUtaoOCB9TcUR7/wd ZJbw== X-Gm-Message-State: ALyK8tJiykf4YZZF3Rh1EBHFk6ecMV7+GCfiOFGti9965WmlhhNTKtJWxsdMyf+7/wdU5A== X-Received: by 10.66.26.136 with SMTP id l8mr3529048pag.49.1465992484759; Wed, 15 Jun 2016 05:08:04 -0700 (PDT) Received: from SHUNQIAN-W530.example.org ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id e9sm52724619pfg.2.2016.06.15.05.08.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Jun 2016 05:08:04 -0700 (PDT) From: Shunqian Zheng To: joro@8bytes.org, heiko@sntech.de, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, mark.yao@rock-chips.com, airlied@linux.ie, tfiga@google.com, xxm@rock-chips.com Subject: [PATCH v3 6/6] iommu/rockchip: enable rockchip iommu on ARM64 platform Date: Wed, 15 Jun 2016 20:04:45 +0800 Message-Id: <1465992285-16187-7-git-send-email-zhengsq@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465992285-16187-1-git-send-email-zhengsq@rock-chips.com> References: <1465992285-16187-1-git-send-email-zhengsq@rock-chips.com> X-Mailman-Approved-At: Wed, 15 Jun 2016 12:10:25 +0000 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, iommu@lists.linux-foundation.org, Shunqian Zheng , linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Simon Xue This patch makes it possible to compile the rockchip-iommu driver on ARM64 platform to be used with 64-bit SoCs equipped with this type of IOMMU. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Reviewed-by: Tomasz Figa --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index ad08603..5572621 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -218,7 +218,7 @@ config OMAP_IOMMU_DEBUG config ROCKCHIP_IOMMU bool "Rockchip IOMMU Support" - depends on ARM + depends on ARM || ARM64 depends on ARCH_ROCKCHIP || COMPILE_TEST select IOMMU_API select ARM_DMA_USE_IOMMU