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 with

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

2014-08-19 Thread Varun Sethi
...@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 varun.se...@freescale.com writes: -Original Message- From: iommu-boun

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

2014-08-19 Thread Hiroshi Doyu
; devicetree@vger.kernel.org; Olof Johansson; io...@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 varun.se...@freescale.com writes

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

2014-08-19 Thread Hiroshi Doyu
Varun Sethi varun.se...@freescale.com 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
- 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 varun.se...@freescale.com writes: Hi Hiroshi, -Original Message- From

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

2014-08-19 Thread Varun Sethi
; Rob Herring; io...@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, Hiroshi Doyu wrote: Thierry Reding thierry.red

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 thierry.red...@gmail.com 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-15 Thread Hiroshi Doyu
Will Deacon will.dea...@arm.com writes: On Thu, Aug 14, 2014 at 07:47:42AM +0100, Hiroshi Doyu wrote: Thierry Reding thierry.red...@gmail.com 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 Fri, Aug 15, 2014 at 01:29:41PM +0100, Hiroshi Doyu wrote: Will Deacon will.dea...@arm.com 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.

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

2014-08-14 Thread Hiroshi Doyu
Thierry Reding thierry.red...@gmail.com writes: +Multiple-master IOMMU: +-- + + iommu { + /* the specifier represents the ID of the master */ + #iommu-cells = 1; + }; + + master@1 { + /* device has master

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

2014-08-14 Thread Varun Sethi
@vger.kernel.org; Olof Johansson; io...@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 thierry.red...@gmail.com writes: +Multiple-master IOMMU

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

2014-08-14 Thread Hiroshi Doyu
Bergmann; Will Deacon Cc: Mark Rutland; devicetree@vger.kernel.org; Olof Johansson; io...@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

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

2014-07-31 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com 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:

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 tred...@nvidia.com 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

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 tred...@nvidia.com 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

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 j...@8bytes.org wrote: On Thu, Jul 31, 2014 at 12:43:03PM +0200, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This commit introduces a generic device tree binding for IOMMU devices. Only a very minimal subset is described here,

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. Do you

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 j...@8bytes.org 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

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 j...@8bytes.org 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

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 tred...@nvidia.com 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