RE: How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread Marek Szyprowski
Hello, On Monday, September 24, 2012 11:45 AM Hiroshi Doyu wrote: > On Mon, 24 Sep 2012 11:28:01 +0200 > James Bottomley wrote: > > > On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > > > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > > > index a1a7225..9eae3be 100644 >

Re: How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread Hiroshi Doyu
Hi James, On Mon, 24 Sep 2012 11:28:01 +0200 James Bottomley wrote: > On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > > index a1a7225..9eae3be 100644 > > --- a/drivers/base/platform.c > > +++ b/drivers/base/platform.c >

Re: How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread James Bottomley
On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > index a1a7225..9eae3be 100644 > --- a/drivers/base/platform.c > +++ b/drivers/base/platform.c > @@ -21,6 +21,8 @@ > #include > #include > > +#include > + > #include "base

How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread Hiroshi Doyu
On Fri, 21 Sep 2012 20:16:00 +0200 Krishna Reddy wrote: > > > The device(H/W controller) need to access few special memory > > > blocks(IOVA==PA) and DRAM as well. > > > > OK, so only /some/ of the VA space is VA==PA, and some is remapped; that's a > > little different that what you originally im