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: 9189407 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 066DB60756 for ; Tue, 21 Jun 2016 04:38:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E654D27F96 for ; Tue, 21 Jun 2016 04:38:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB41B27F9C; Tue, 21 Jun 2016 04:38:12 +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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A927327F96 for ; Tue, 21 Jun 2016 04:38:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFDQk-0002SI-4M; Tue, 21 Jun 2016 04:36:54 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFDPh-0001Gk-Rc for linux-arm-kernel@lists.infradead.org; Tue, 21 Jun 2016 04:35:50 +0000 Received: by mail-pf0-x232.google.com with SMTP id i123so2326981pfg.0 for ; Mon, 20 Jun 2016 21:35:32 -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=H+VqcZbWX+tGGTxv5XkHAAvVTXOZCk7V/kkvr4A/W9zqLsjw0dDZefP/g3ahD4npHc Aid6/vYSku1mEFO9QC0+lfZGVCRC4A3ugt7qd3unYp+MMTaWtUByvvEeInQmgshI30Y0 G5YIJ107TL8G9FPPFH+pryxif0lMkI6gMrY5sDWGjQOG7FVMAs2yLvOhEWuuN3VjWLnK QpsSUbR30FkEBfguozQhYRgyNh6OB9sItuFsqqGQIhwR4im80ZLqxoVSwinhoTIuSgmA lVVk6423cP9dUUqmf9O12hbVVZtaYgtydBgoyKmCVKybxF759VOiTTRfQx3m5WFpoOIj CkrA== X-Gm-Message-State: ALyK8tJJ1vtYixKn0OiIjfKqScNXX6Ji8CGaVmWQQohyaYD3HKBlzur1vKvdbOyWhlk57gmL 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160620_213549_955054_8AE60D89 X-CRM114-Status: GOOD ( 12.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , David Airlie , Joerg Roedel , linux-kernel@vger.kernel.org, Daniel Kurtz , Tomasz Figa , linux-rockchip@lists.infradead.org, Simon Xue , Marek Szyprowski , Shunqian Zheng , linux-arm-kernel@lists.infradead.org, Mark Yao MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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