2014-07-04 09:34:42

by Tushar Behera

[permalink] [raw]
Subject: [PATCH] iommu/exynos: Select ARM_DMA_USE_IOMMU

For IOMMU to use on Exynos platforms, we need to enable ARM_DMA_USE_IOMMU. It
would be better to select it by default when EXYNOS_IOMMU is enabled.

Signed-off-by: Tushar Behera <[email protected]>
---
drivers/iommu/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index d260605..54f3ad1a 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -180,6 +180,7 @@ config EXYNOS_IOMMU
bool "Exynos IOMMU Support"
depends on ARCH_EXYNOS
select IOMMU_API
+ select ARM_DMA_USE_IOMMU
help
Support for the IOMMU (System MMU) of Samsung Exynos application
processor family. This enables H/W multimedia accelerators to see
--
1.7.9.5


2014-07-04 09:53:13

by Sachin Kamat

[permalink] [raw]
Subject: Re: [PATCH] iommu/exynos: Select ARM_DMA_USE_IOMMU

Hi Tushar,

On Fri, Jul 4, 2014 at 3:01 PM, Tushar Behera <[email protected]> wrote:
> For IOMMU to use on Exynos platforms, we need to enable ARM_DMA_USE_IOMMU. It
> would be better to select it by default when EXYNOS_IOMMU is enabled.
>
> Signed-off-by: Tushar Behera <[email protected]>
> ---
> drivers/iommu/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index d260605..54f3ad1a 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -180,6 +180,7 @@ config EXYNOS_IOMMU
> bool "Exynos IOMMU Support"
> depends on ARCH_EXYNOS
> select IOMMU_API
> + select ARM_DMA_USE_IOMMU
> help
> Support for the IOMMU (System MMU) of Samsung Exynos application
> processor family. This enables H/W multimedia accelerators to see
> --

Reviewed-by: Sachin Kamat <[email protected]>

--
Regards,
Sachin.

2014-07-04 09:58:13

by Cho KyongHo

[permalink] [raw]
Subject: Re: [PATCH] iommu/exynos: Select ARM_DMA_USE_IOMMU

On Fri, 04 Jul 2014 15:01:08 +0530, Tushar Behera wrote:
> For IOMMU to use on Exynos platforms, we need to enable ARM_DMA_USE_IOMMU. It
> would be better to select it by default when EXYNOS_IOMMU is enabled.
>
> Signed-off-by: Tushar Behera <[email protected]>
> ---
> drivers/iommu/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index d260605..54f3ad1a 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -180,6 +180,7 @@ config EXYNOS_IOMMU
> bool "Exynos IOMMU Support"
> depends on ARCH_EXYNOS
> select IOMMU_API
> + select ARM_DMA_USE_IOMMU
> help
> Support for the IOMMU (System MMU) of Samsung Exynos application
> processor family. This enables H/W multimedia accelerators to see
> --

Reviewed-by: Cho KyongHo <[email protected]>'

Thank you.

KyongHo

2014-07-29 15:44:03

by Joerg Roedel

[permalink] [raw]
Subject: Re: [PATCH] iommu/exynos: Select ARM_DMA_USE_IOMMU

On Fri, Jul 04, 2014 at 03:01:08PM +0530, Tushar Behera wrote:
> For IOMMU to use on Exynos platforms, we need to enable ARM_DMA_USE_IOMMU. It
> would be better to select it by default when EXYNOS_IOMMU is enabled.
>
> Signed-off-by: Tushar Behera <[email protected]>

Applied, thanks. Please always Cc me directly on IOMMU patches.