Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 00/15] iommu: Move domain allocation into drivers
       [not found] <1422316305-19216-1-git-send-email-joro@8bytes.org>
@ 2015-03-20  9:24 ` Yingjoe Chen
  2015-03-23 11:49   ` Joerg Roedel
  0 siblings, 1 reply; 3+ messages in thread
From: Yingjoe Chen @ 2015-03-20  9:24 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: iommu, Alexandre Courbot, linux-samsung-soc, Heiko Stuebner,
	Arnd Bergmann, Stephen Warren, Will Deacon, linux-kernel,
	linux-rockchip, Alex Williamson, Kukjin Kim, Thierry Reding,
	jroedel, linux-tegra, David Woodhouse, linux-arm-kernel,
	Hiroshi Doyu, Tomasz Figa, Yong Wu (吴勇),
	Robin Murphy

On Tue, 2015-01-27 at 00:51 +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@suse.de>
> 
> Hi,
> 
> here is patch-set to replace the existing domain_init and
> domain_destroy iommu-ops with the new domain_alloc and
> domain_free callbacks
> 
> The new callbacks move the allocation of iommu domains into
> the iommu driver, allowing them to put a generic
> iommu_domain struct into their own domain struct. This makes
> domain handling in the drivers more cache efficient and
> prepares the introduction of default domains in another
> patch-set.

Hi Joerg,

What's the status of this patchset?
While porting MTK IOMMU driver[1], we need to use a global variable
because we need to do dma_alloc_coherent in our domain_init. I think we
can remove that global variable if we base on this series.

Joe.C

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/328461.html

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

* Re: [PATCH 00/15] iommu: Move domain allocation into drivers
  2015-03-20  9:24 ` [PATCH 00/15] iommu: Move domain allocation into drivers Yingjoe Chen
@ 2015-03-23 11:49   ` Joerg Roedel
       [not found]     ` <20150323114921.GM4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Joerg Roedel @ 2015-03-23 11:49 UTC (permalink / raw)
  To: Yingjoe Chen
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	Alexandre Courbot, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
	Heiko Stuebner, Arnd Bergmann, Stephen Warren, Will Deacon,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Alex Williamson,
	Kukjin Kim, Thierry Reding, jroedel-l3A5Bk7waGM,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, David Woodhouse,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Hiroshi Doyu,
	Tomasz Figa, Yong Wu (吴勇), Robin Murphy

Hi Yingjoe,

On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote:
> What's the status of this patchset?
> While porting MTK IOMMU driver[1], we need to use a global variable
> because we need to do dma_alloc_coherent in our domain_init. I think we
> can remove that global variable if we base on this series.

I plan to send out a new version this week.


	Joerg

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

* Re: [PATCH 00/15] iommu: Move domain allocation into drivers
       [not found]     ` <20150323114921.GM4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
@ 2015-03-23 13:35       ` Yingjoe Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Yingjoe Chen @ 2015-03-23 13:35 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	Alexandre Courbot, linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
	Heiko Stuebner, Arnd Bergmann, Stephen Warren, Will Deacon,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Alex Williamson,
	Kukjin Kim, Thierry Reding, jroedel-l3A5Bk7waGM,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, David Woodhouse,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Hiroshi Doyu,
	Tomasz Figa, Yong Wu (吴勇), Robin Murphy

On Mon, 2015-03-23 at 12:49 +0100, Joerg Roedel wrote:
> Hi Yingjoe,
> 
> On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote:
> > What's the status of this patchset?
> > While porting MTK IOMMU driver[1], we need to use a global variable
> > because we need to do dma_alloc_coherent in our domain_init. I think we
> > can remove that global variable if we base on this series.
> 
> I plan to send out a new version this week.

Hi Joerg,

That's great.
Thanks for the update :)

Joe.C

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

end of thread, other threads:[~2015-03-23 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1422316305-19216-1-git-send-email-joro@8bytes.org>
2015-03-20  9:24 ` [PATCH 00/15] iommu: Move domain allocation into drivers Yingjoe Chen
2015-03-23 11:49   ` Joerg Roedel
     [not found]     ` <20150323114921.GM4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-03-23 13:35       ` Yingjoe Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox