linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iommu/rockchip: Remove build dependency on ARM
@ 2017-05-10 10:28 Jeffy Chen
  2017-05-10 10:37 ` Heiko Stübner
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffy Chen @ 2017-05-10 10:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: heiko, briannorris, dianders, tfiga, seanpaul, zyw, mark.yao,
	Jeffy Chen, iommu, Joerg Roedel

This patch removes the build dependency on ARM, so we can build on arm64
as well.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>

---

 drivers/iommu/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 6ee3a25..cb26f45 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -219,7 +219,6 @@ config OMAP_IOMMU_DEBUG
 
 config ROCKCHIP_IOMMU
 	bool "Rockchip IOMMU Support"
-	depends on ARM
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iommu/rockchip: Remove build dependency on ARM
  2017-05-10 10:28 [PATCH] iommu/rockchip: Remove build dependency on ARM Jeffy Chen
@ 2017-05-10 10:37 ` Heiko Stübner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2017-05-10 10:37 UTC (permalink / raw)
  To: Jeffy Chen
  Cc: linux-kernel, briannorris, dianders, tfiga, seanpaul, zyw,
	mark.yao, iommu, Joerg Roedel

Hi Jeffy,

Am Mittwoch, 10. Mai 2017, 18:28:12 CEST schrieb Jeffy Chen:
> This patch removes the build dependency on ARM, so we can build on arm64
> as well.
> 
> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
> ---
> 
>  drivers/iommu/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 6ee3a25..cb26f45 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -219,7 +219,6 @@ config OMAP_IOMMU_DEBUG
> 
>  config ROCKCHIP_IOMMU
>  	bool "Rockchip IOMMU Support"
> -	depends on ARM

The previous patch from Simon Xue that was delayed due to the drm
changes needed did a
	depends in ARM || ARM64
instead.

I'm not sure which variant is better and Rockchip is currently not
providing any other cpu architectures, just noting the difference and
letting you and Joerg decide which one to choose :-) .

Enabling the iommu on arm64 looks good to me in any case.


Heiko



>  	depends on ARCH_ROCKCHIP || COMPILE_TEST
>  	select IOMMU_API
>  	select ARM_DMA_USE_IOMMU

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-10 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10 10:28 [PATCH] iommu/rockchip: Remove build dependency on ARM Jeffy Chen
2017-05-10 10:37 ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).