From patchwork Tue Jun 21 04:34:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 9189377 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 3A2B36075A for ; Tue, 21 Jun 2016 04:36:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28A4227F96 for ; Tue, 21 Jun 2016 04:36:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D3DC27F9A; Tue, 21 Jun 2016 04:36:34 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 B9DED27F96 for ; Tue, 21 Jun 2016 04:36:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 455296E1F4; Tue, 21 Jun 2016 04:36:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D72A6E1E5 for ; Tue, 21 Jun 2016 04:35:33 +0000 (UTC) Received: by mail-pf0-x232.google.com with SMTP id h14so2311949pfe.1 for ; Mon, 20 Jun 2016 21:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rq3Rj57ckrut2w5EXFs2eMBgwPz0LAdbSJrWemwVc1E=; b=io1tUhGuUjhoWZ3exqXOykNEkDF2lLOSyKcfGtvNGSTE28YYo77KD0B4aNDGi2up8w KCo5SdFNRwFW4DdEa7geIXAhM3GKqG7t2l5dBgcsgt+hszHWr/AFcQud//j/4MoSrk7Q HBe+iMnPDYOhAd/YihdMLg+yqNhyw80bF3p2U= 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=rq3Rj57ckrut2w5EXFs2eMBgwPz0LAdbSJrWemwVc1E=; b=Z4nmYj0yrtzDrI9N6K66RI799tnllK0YZY6lv6tqwVOoum9DoydtwL2L9Fzg1VPl9X h2FdUMkwRoIPdBG8QAR1Clg5HGH+EPBOxC3CDaHWg3agnvhiqYGZLV8HaZgyJqYsc75R 3A6XLe5NYWtOPkv2/OS8Ie7MPjSgRsKVOc41Q/qYrb1XPAQwq0UEA88dyrzi3Och/B/H Xjmh9PYCqDyrx32z+PEdrZ0JiDvtLyjudqbPcUcIIEwPx9fWz8nHMWBTntgBFG8/hMmD djF6Tk+bjA6L83fq8azBfOyoS/1Q3aRLyAyGeuszSy3C7O7f9fgHSc4C/oCs2f73s/Ke SXVw== X-Gm-Message-State: ALyK8tKo9ynSg+U7r2K9c6fx5ANmnUqyQng6VJNEHLJmDa194So8oc4KKbOhrTC5BuH5dWLT X-Received: by 10.98.86.72 with SMTP id k69mr25974059pfb.166.1466483732398; Mon, 20 Jun 2016 21:35:32 -0700 (PDT) Received: from basement.tok.corp.google.com ([100.103.3.207]) by smtp.gmail.com with ESMTPSA id s3sm24500160pfb.87.2016.06.20.21.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jun 2016 21:35:32 -0700 (PDT) From: Tomasz Figa To: iommu@lists.linux-foundation.org, dri-devel@lists.freedesktop.org Subject: [PATCH v4 8/8] iommu/rockchip: Enable Rockchip IOMMU on ARM64 Date: Tue, 21 Jun 2016 13:34:41 +0900 Message-Id: <1466483681-36110-9-git-send-email-tfiga@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1466483681-36110-1-git-send-email-tfiga@chromium.org> References: <1466483681-36110-1-git-send-email-tfiga@chromium.org> Cc: linux-kernel@vger.kernel.org, Tomasz Figa , linux-rockchip@lists.infradead.org, Simon Xue , Marek Szyprowski , 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, so that it can be used with 64-bit SoCs equipped with this type of IOMMU. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Signed-off-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