Re: FSL 64-bit DMA window question

2013-06-07 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 18:29 -0500, Scott Wood wrote: > I just meant that a PCIe device targeting something other than RAM, > CCSR (it's not just MSIs that are mapped through the special window), > or another PCIe is a rather unusual case -- not something that you'd > see by just plugging in

Re: FSL 64-bit DMA window question

2013-06-07 Thread Scott Wood
On 06/07/2013 05:39:53 PM, Benjamin Herrenschmidt wrote: On Fri, 2013-06-07 at 17:34 -0500, Scott Wood wrote: > > You also need to account for other on-chip MMIOs no ? Or do you never > > intend to let PCI devices hit them ? > > I don't think we normally need that (other than MSIs, which have

Re: FSL 64-bit DMA window question

2013-06-07 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 17:34 -0500, Scott Wood wrote: > > You also need to account for other on-chip MMIOs no ? Or do you never > > intend to let PCI devices hit them ? > > I don't think we normally need that (other than MSIs, which have a > special window under 4G)... The question is whether it

Re: FSL 64-bit DMA window question

2013-06-07 Thread Scott Wood
On 06/07/2013 05:09:54 PM, Benjamin Herrenschmidt wrote: On Fri, 2013-06-07 at 17:02 -0500, Scott Wood wrote: > O > > I thought the device tree was for describing the hardware, rather > > than configuration? :-) A bit of both really. See things like /chosen etc... Also to what extent a MAC addr

Re: FSL 64-bit DMA window question

2013-06-07 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 17:02 -0500, Scott Wood wrote: > O > > I thought the device tree was for describing the hardware, rather > > than configuration? :-) A bit of both really. See things like /chosen etc... Also to what extent a MAC address is HW vs. configuration ? :-) The HW configuration f

Re: FSL 64-bit DMA window question

2013-06-07 Thread Scott Wood
On 06/07/2013 05:01:28 PM, Scott Wood wrote: On 06/07/2013 07:09:20 AM, Benjamin Herrenschmidt wrote: On Fri, 2013-06-07 at 09:44 +, Zang Roy-R61911 wrote: > > > -Original Message- > > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > > > On Fri, 2013-06-07 at 07:58

Re: FSL 64-bit DMA window question

2013-06-07 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 09:44 +, Zang Roy-R61911 wrote: > > > -Original Message- > > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > > > On Fri, 2013-06-07 at 07:58 +, Zang Roy-R61911 wrote: > > > > > > > -Original Message- > > > > From: Benjamin Herrensch

RE: FSL 64-bit DMA window question

2013-06-07 Thread Zang Roy-R61911
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > On Fri, 2013-06-07 at 07:58 +, Zang Roy-R61911 wrote: > > > > > -Original Message- > > > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > > > > > Hi Folks ! > > > > > >

Re: FSL 64-bit DMA window question

2013-06-07 Thread Benjamin Herrenschmidt
On Fri, 2013-06-07 at 07:58 +, Zang Roy-R61911 wrote: > > > -Original Message- > > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > > > Hi Folks ! > > > > Is there any specific reason why you chose 1T (40 bit) as the location of > > the 64-bit DMA window ? > > > >

RE: FSL 64-bit DMA window question

2013-06-07 Thread Zang Roy-R61911
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > > Hi Folks ! > > Is there any specific reason why you chose 1T (40 bit) as the location of > the 64-bit DMA window ? > > It happens that most current radeon adapters cannot DMA there, they have > a