Re: Question about dma-ranges property for PCI host controllers

2016-08-25 Thread Arnd Bergmann
On Friday, August 12, 2016 9:43:44 AM CEST Phil Edworthy wrote: > On 11 August 2016 16:09 Arnd Bergmann wrote: > > In the past, we have said that the dma-ranges property should reflect > > the address space that is used when programming the bridge registers > > in the PCI host bridge itself. > >

RE: Question about dma-ranges property for PCI host controllers

2016-08-12 Thread Phil Edworthy
Hi Arnd, On 11 August 2016 16:09 Arnd Bergmann wrote: > On Thursday, August 11, 2016 3:00:42 PM CEST Phil Edworthy wrote: > > Hi, > > > > A few PCI host controllers use the "dma-ranges" property to specify the > > mapping from PCI bus addresses to physical addresses. > > > > In the case of R-Car

Re: Question about dma-ranges property for PCI host controllers

2016-08-11 Thread Arnd Bergmann
On Thursday, August 11, 2016 3:00:42 PM CEST Phil Edworthy wrote: > Hi, > > A few PCI host controllers use the "dma-ranges" property to specify the > mapping from PCI bus addresses to physical addresses. > > In the case of R-Car PCIe Host controllers, the intention was to set this > property as

Question about dma-ranges property for PCI host controllers

2016-08-11 Thread Phil Edworthy
Hi, A few PCI host controllers use the "dma-ranges" property to specify the mapping from PCI bus addresses to physical addresses. In the case of R-Car PCIe Host controllers, the intention was to set this property as a 1 to 1 mapping for all DDR that could be addressed by the device. However,