linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu
@ 2011-09-30  7:31 Kukjin Kim
  2011-09-30 13:46 ` Roedel, Joerg
  0 siblings, 1 reply; 4+ messages in thread
From: Kukjin Kim @ 2011-09-30  7:31 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc, iommu, linux-kernel
  Cc: 'Russell King', joerg.roedel, 'Ohad Ben-Cohen',
	'Sanghyun Lee', younglak1004.kim, 'Kukjin Kim'

From: KyongHo Cho <pullip.cho@samsung.com>

This replaces register_iommu() with bus_set_iommu() according to the
suggestion of Joerg Roedel.

Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
 drivers/iommu/exynos_iommu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/iommu/exynos_iommu.c b/drivers/iommu/exynos_iommu.c
index d355a2e..e36f7b2 100644
--- a/drivers/iommu/exynos_iommu.c
+++ b/drivers/iommu/exynos_iommu.c
@@ -912,7 +912,7 @@ static int __init exynos_iommu_init(void)
 	if (!l2table_cachep)
 		return -ENOMEM;
 
-	register_iommu(&exynos_iommu_ops);
+	bus_set_iommu(&platform_bus_type, &exynos_iommu_ops);
 
 	return 0;
 }
-- 
1.7.1



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

* Re: [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu
  2011-09-30  7:31 [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu Kukjin Kim
@ 2011-09-30 13:46 ` Roedel, Joerg
  2011-09-30 23:52   ` KyongHo Cho
  0 siblings, 1 reply; 4+ messages in thread
From: Roedel, Joerg @ 2011-09-30 13:46 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: linux-arm-kernel, linux-samsung-soc, iommu, linux-kernel,
	'Russell King', 'Ohad Ben-Cohen',
	'Sanghyun Lee',
	younglak1004.kim

On Fri, Sep 30, 2011 at 03:31:49AM -0400, Kukjin Kim wrote:
> From: KyongHo Cho <pullip.cho@samsung.com>
> 
> This replaces register_iommu() with bus_set_iommu() according to the
> suggestion of Joerg Roedel.

This should be part of patch 3 already when the bus_set_iommu() change
is merged. Otherwise it breaks bisectability too.

	Joerg

> 
> Cc: Joerg Roedel <joerg.roedel@amd.com>
> Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
>  drivers/iommu/exynos_iommu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/iommu/exynos_iommu.c b/drivers/iommu/exynos_iommu.c
> index d355a2e..e36f7b2 100644
> --- a/drivers/iommu/exynos_iommu.c
> +++ b/drivers/iommu/exynos_iommu.c
> @@ -912,7 +912,7 @@ static int __init exynos_iommu_init(void)
>  	if (!l2table_cachep)
>  		return -ENOMEM;
>  
> -	register_iommu(&exynos_iommu_ops);
> +	bus_set_iommu(&platform_bus_type, &exynos_iommu_ops);
>  
>  	return 0;
>  }
> -- 
> 1.7.1
> 
> 

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632


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

* Re: [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu
  2011-09-30 13:46 ` Roedel, Joerg
@ 2011-09-30 23:52   ` KyongHo Cho
  2011-10-07 11:37     ` Joerg Roedel
  0 siblings, 1 reply; 4+ messages in thread
From: KyongHo Cho @ 2011-09-30 23:52 UTC (permalink / raw)
  To: Roedel, Joerg
  Cc: Kukjin Kim, linux-arm-kernel, linux-samsung-soc, iommu,
	linux-kernel, Russell King, Ohad Ben-Cohen, Sanghyun Lee,
	younglak1004.kim

On Fri, Sep 30, 2011 at 10:46 PM, Roedel, Joerg <Joerg.Roedel@amd.com> wrote:
> On Fri, Sep 30, 2011 at 03:31:49AM -0400, Kukjin Kim wrote:
>> From: KyongHo Cho <pullip.cho@samsung.com>
>>
>> This replaces register_iommu() with bus_set_iommu() according to the
>> suggestion of Joerg Roedel.
>
> This should be part of patch 3 already when the bus_set_iommu() change
> is merged. Otherwise it breaks bisectability too.
>
Ok.
Should I include fault handling feature (patch 4) in the patch 3 also?

Thanks.
KyongHo.

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

* Re: [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu
  2011-09-30 23:52   ` KyongHo Cho
@ 2011-10-07 11:37     ` Joerg Roedel
  0 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2011-10-07 11:37 UTC (permalink / raw)
  To: KyongHo Cho
  Cc: Roedel, Joerg, Kukjin Kim, linux-arm-kernel, linux-samsung-soc,
	iommu, linux-kernel, Russell King, Ohad Ben-Cohen, Sanghyun Lee,
	younglak1004.kim

On Sat, Oct 01, 2011 at 08:52:45AM +0900, KyongHo Cho wrote:
> On Fri, Sep 30, 2011 at 10:46 PM, Roedel, Joerg <Joerg.Roedel@amd.com> wrote:
> > On Fri, Sep 30, 2011 at 03:31:49AM -0400, Kukjin Kim wrote:
> >> From: KyongHo Cho <pullip.cho@samsung.com>
> >>
> >> This replaces register_iommu() with bus_set_iommu() according to the
> >> suggestion of Joerg Roedel.
> >
> > This should be part of patch 3 already when the bus_set_iommu() change
> > is merged. Otherwise it breaks bisectability too.
> >
> Ok.
> Should I include fault handling feature (patch 4) in the patch 3 also?

Yes, makes sense to include patch 4 too.


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

end of thread, other threads:[~2011-10-07 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30  7:31 [PATCH v2 5/5] iommu/exynos: Use bus_set_iommu instead of register_iommu Kukjin Kim
2011-09-30 13:46 ` Roedel, Joerg
2011-09-30 23:52   ` KyongHo Cho
2011-10-07 11:37     ` Joerg Roedel

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).