Re: Purpose of PCI address in ranges property

2017-03-23 Thread Arnd Bergmann
On Thu, Mar 23, 2017 at 3:59 AM, valmiki wrote: > On 3/20/2017 3:15 AM, Arnd Bergmann wrote: >> >> On Sun, Mar 19, 2017 at 3:14 PM, valmiki wrote: >>> >>> Hi, >>> >>> When ranges property is being parsed using >>> of_pci_get_host_bridge_resources, >>> the pci address is being used for >>> calcula

Re: Purpose of PCI address in ranges property

2017-03-22 Thread valmiki
On 3/20/2017 3:15 AM, Arnd Bergmann wrote: On Sun, Mar 19, 2017 at 3:14 PM, valmiki wrote: Hi, When ranges property is being parsed using of_pci_get_host_bridge_resources, the pci address is being used for calculating the offset for pci_add_resource_offset. What is this offset for ? So the c

Re: Purpose of PCI address in ranges property

2017-03-19 Thread Arnd Bergmann
On Sun, Mar 19, 2017 at 3:14 PM, valmiki wrote: > Hi, > > When ranges property is being parsed using of_pci_get_host_bridge_resources, > the pci address is being used for > calculating the offset for pci_add_resource_offset. > > What is this offset for ? > > So the cpu address is being used for pr

Purpose of PCI address in ranges property

2017-03-19 Thread valmiki
Hi, When ranges property is being parsed using of_pci_get_host_bridge_resources, the pci address is being used for calculating the offset for pci_add_resource_offset. What is this offset for ? So the cpu address is being used for programming memory base and limit registers ? Thanks & Regar