Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-22 Thread Will Deacon
Hi Varun, On Tue, Aug 19, 2014 at 01:11:43PM +0100, Varun Sethi wrote: > > I think there's some confusion here. The ARM architected SMMU does not > > perform any StreamID translation -- it sees an incoming ID and uses that to > > lookup a set of translation tables. > > I don't completely agree w

RE: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Varun Sethi
ephen Warren; Arnd > Bergmann; Rob Herring; iommu@lists.linux-foundation.org; Thierry Reding; > linux-te...@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings > > On Thu, Aug 14, 2014 at 07:47:42AM +0100

RE: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Varun Sethi
f Johansson; iommu@lists.linux- > foundation.org; Rob Herring; linux-te...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Yoder Stuart-B08248 > Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings > > > Varun Sethi writes: > > >> >> >

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Hiroshi Doyu
Varun Sethi writes: >> >> > Also, for dynamic stream ID allocation we would need to represent >> >> > the specific master register (to store the stream ID) in the device >> >> > tree. >> >> >> >> I assmue that the above means that iMX has such configuration >> >> register to map steramID and a

RE: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Varun Sethi
f Johansson; iommu@lists.linux- > foundation.org; Rob Herring; linux-te...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Yoder Stuart-B08248 > Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings > > > Varun Sethi writes: > > > Hi Hiroshi,

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Hiroshi Doyu
ill >> Deacon; Mark Rutland; devicet...@vger.kernel.org; Olof Johansson; >> iommu@lists.linux-foundation.org; Rob Herring; linux-te...@vger.kernel.org; >> linux-arm-ker...@lists.infradead.org >> Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings >>

RE: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-19 Thread Varun Sethi
rg; Olof Johansson; > iommu@lists.linux-foundation.org; Rob Herring; linux-te...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings > > Hi Varun, > > Varun Sethi writes: > > >&g

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-15 Thread Will Deacon
On Fri, Aug 15, 2014 at 01:29:41PM +0100, Hiroshi Doyu wrote: > Will Deacon writes: > > I think there's some confusion here. The ARM architected SMMU does not > > perform any StreamID translation -- it sees an incoming ID and uses that to > > lookup a set of translation tables. However, for hotplu

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-15 Thread Hiroshi Doyu
Will Deacon writes: > On Thu, Aug 14, 2014 at 07:47:42AM +0100, Hiroshi Doyu wrote: >> Thierry Reding writes: >> >> > +Multiple-master IOMMU: >> > +-- >> > + >> > + iommu { >> > + /* the specifier represents the ID of the master */ >> > + #

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-15 Thread Will Deacon
On Thu, Aug 14, 2014 at 07:47:42AM +0100, Hiroshi Doyu wrote: > Thierry Reding writes: > > > +Multiple-master IOMMU: > > +-- > > + > > + iommu { > > + /* the specifier represents the ID of the master */ > > + #iommu-cells = <1>; > > + };

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-14 Thread Hiroshi Doyu
en Warren; Arnd Bergmann; Will Deacon >> Cc: Mark Rutland; devicet...@vger.kernel.org; Olof Johansson; >> iommu@lists.linux-foundation.org; Rob Herring; linux-te...@vger.kernel.org; >> linux-arm-ker...@lists.infradead.org >> Subject: Re: [PATCH v5] devicetree: Add generic IOMMU

RE: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-14 Thread Varun Sethi
k Rutland; devicet...@vger.kernel.org; Olof Johansson; > iommu@lists.linux-foundation.org; Rob Herring; linux-te...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings > > > Thierry Reding w

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-08-13 Thread Hiroshi Doyu
Thierry Reding writes: > +Multiple-master IOMMU: > +-- > + > + iommu { > + /* the specifier represents the ID of the master */ > + #iommu-cells = <1>; > + }; > + > + master@1 { > + /* device has master ID 42 in the I

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Laurent Pinchart
Hi Thierry, On Thursday 31 July 2014 12:43:03 Thierry Reding wrote: > From: Thierry Reding > > This commit introduces a generic device tree binding for IOMMU devices. > Only a very minimal subset is described here, but it is enough to cover > the requirements of both the Exynos System MMU and Te

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Joerg Roedel
On Thu, Jul 31, 2014 at 10:14:08AM -0700, Olof Johansson wrote: > On Thu, Jul 31, 2014 at 9:36 AM, Joerg Roedel wrote: > > On Thu, Jul 31, 2014 at 08:38:47AM -0700, Olof Johansson wrote: > >> > > >> > Applied, thanks everyone. > >> > >> Really? > >> > >> Gee, thanks for giving people a chance to r

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Olof Johansson
On Thu, Jul 31, 2014 at 9:36 AM, Joerg Roedel wrote: > On Thu, Jul 31, 2014 at 08:38:47AM -0700, Olof Johansson wrote: >> > >> > Applied, thanks everyone. >> >> Really? >> >> Gee, thanks for giving people a chance to reply with acks. It's >> considered polite to do so when there has been outstandi

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Joerg Roedel
On Thu, Jul 31, 2014 at 08:38:47AM -0700, Olof Johansson wrote: > > > > Applied, thanks everyone. > > Really? > > Gee, thanks for giving people a chance to reply with acks. It's > considered polite to do so when there has been outstanding questions. Its not pushed yet, I can still make changes.

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Olof Johansson
On Thu, Jul 31, 2014 at 5:04 AM, Joerg Roedel wrote: > On Thu, Jul 31, 2014 at 12:43:03PM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> This commit introduces a generic device tree binding for IOMMU devices. >> Only a very minimal subset is described here, but it is enough to cover >

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Joerg Roedel
On Thu, Jul 31, 2014 at 12:43:03PM +0200, Thierry Reding wrote: > From: Thierry Reding > > This commit introduces a generic device tree binding for IOMMU devices. > Only a very minimal subset is described here, but it is enough to cover > the requirements of both the Exynos System MMU and Tegra S

Re: [PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Mark Rutland
On Thu, Jul 31, 2014 at 11:43:03AM +0100, Thierry Reding wrote: > From: Thierry Reding > > This commit introduces a generic device tree binding for IOMMU devices. > Only a very minimal subset is described here, but it is enough to cover > the requirements of both the Exynos System MMU and Tegra S

[PATCH v5] devicetree: Add generic IOMMU device tree bindings

2014-07-31 Thread Thierry Reding
From: Thierry Reding This commit introduces a generic device tree binding for IOMMU devices. Only a very minimal subset is described here, but it is enough to cover the requirements of both the Exynos System MMU and Tegra SMMU as discussed here: https://lkml.org/lkml/2014/4/27/346 Acked-by: