Mian Yousaf Kaukab 866817
From bd9fdcffa0ccf858391511cfa83eac9025b488b6 Mon Sep 17 00:00:00 2001
Mian Yousaf Kaukab 866817
From: Simon Xue <xxm@rock-chips.com>
Mian Yousaf Kaukab 866817
Date: Wed, 3 May 2017 17:19:40 +0200
Mian Yousaf Kaukab 866817
Subject: [PATCH 12/86] iommu/rockchip: Enable Rockchip IOMMU on ARM64
Mian Yousaf Kaukab 866817
Mian Yousaf Kaukab 866817
Git-commit: 4f1fcfe94c1700f9e891adc1ca364a5cef00bbfd
Mian Yousaf Kaukab 866817
Patch-mainline: v4.13-rc1
Mian Yousaf Kaukab 866817
References: fate#323912
Mian Yousaf Kaukab 866817
Mian Yousaf Kaukab 866817
This patch makes it possible to compile the rockchip-iommu driver on
Mian Yousaf Kaukab 866817
ARM64, so that it can be used with 64-bit SoCs equipped with this type
Mian Yousaf Kaukab 866817
of IOMMU.
Mian Yousaf Kaukab 866817
Mian Yousaf Kaukab 866817
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Mian Yousaf Kaukab 866817
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Mian Yousaf Kaukab 866817
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Mian Yousaf Kaukab 866817
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Mian Yousaf Kaukab 866817
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Mian Yousaf Kaukab 866817
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
Mian Yousaf Kaukab 866817
---
Mian Yousaf Kaukab 866817
 drivers/iommu/Kconfig | 2 +-
Mian Yousaf Kaukab 866817
 1 file changed, 1 insertion(+), 1 deletion(-)
Mian Yousaf Kaukab 866817
Mian Yousaf Kaukab 866817
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
Mian Yousaf Kaukab 866817
index 6ee3a25ae731..99c6366a2551 100644
Mian Yousaf Kaukab 866817
--- a/drivers/iommu/Kconfig
Mian Yousaf Kaukab 866817
+++ b/drivers/iommu/Kconfig
Mian Yousaf Kaukab 866817
@@ -219,7 +219,7 @@ config OMAP_IOMMU_DEBUG
Mian Yousaf Kaukab 866817
 
Mian Yousaf Kaukab 866817
 config ROCKCHIP_IOMMU
Mian Yousaf Kaukab 866817
 	bool "Rockchip IOMMU Support"
Mian Yousaf Kaukab 866817
-	depends on ARM
Mian Yousaf Kaukab 866817
+	depends on ARM || ARM64
Mian Yousaf Kaukab 866817
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
Mian Yousaf Kaukab 866817
 	select IOMMU_API
Mian Yousaf Kaukab 866817
 	select ARM_DMA_USE_IOMMU
Mian Yousaf Kaukab 866817
-- 
Mian Yousaf Kaukab 866817
2.11.0
Mian Yousaf Kaukab 866817