Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-05 Thread Bjorn Helgaas
On Sun, Aug 24, 2014 at 06:27:48PM -0500, Rob Herring wrote: > On Fri, Aug 22, 2014 at 8:06 AM, Liviu Dudau wrote: > > mips is doing the same thing and I believe is not affected, > > pci-host-generic.c > > was adjusting the returned values afterwards so that will not be needed and > > Lorenzo >

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-05 Thread Bjorn Helgaas
On Sun, Aug 24, 2014 at 06:27:48PM -0500, Rob Herring wrote: On Fri, Aug 22, 2014 at 8:06 AM, Liviu Dudau li...@dudau.co.uk wrote: mips is doing the same thing and I believe is not affected, pci-host-generic.c was adjusting the returned values afterwards so that will not be needed and

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-24 Thread Rob Herring
On Fri, Aug 22, 2014 at 8:06 AM, Liviu Dudau wrote: > On Thu, Aug 21, 2014 at 11:08:48PM -0500, Rob Herring wrote: >> On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau wrote: >> > The ranges property for a host bridge controller in DT describes >> > the mapping between the PCI bus address and the

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-24 Thread Rob Herring
On Fri, Aug 22, 2014 at 8:06 AM, Liviu Dudau li...@dudau.co.uk wrote: On Thu, Aug 21, 2014 at 11:08:48PM -0500, Rob Herring wrote: On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau liviu.du...@arm.com wrote: The ranges property for a host bridge controller in DT describes the mapping between the

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-22 Thread Liviu Dudau
On Thu, Aug 21, 2014 at 11:08:48PM -0500, Rob Herring wrote: > On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau wrote: > > The ranges property for a host bridge controller in DT describes > > the mapping between the PCI bus address and the CPU physical address. > > The resources framework however

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-22 Thread Liviu Dudau
On Thu, Aug 21, 2014 at 11:08:48PM -0500, Rob Herring wrote: On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau liviu.du...@arm.com wrote: The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-21 Thread Rob Herring
On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau wrote: > The ranges property for a host bridge controller in DT describes > the mapping between the PCI bus address and the CPU physical address. > The resources framework however expects that the IO resources start > at a pseudo "port" address 0

Re: [PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-21 Thread Rob Herring
On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau liviu.du...@arm.com wrote: The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo port

[PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-12 Thread Liviu Dudau
The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo "port" address 0 (zero) and have a maximum size of IO_SPACE_LIMIT. The conversion

[PATCH v9 04/12] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-08-12 Thread Liviu Dudau
The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo port address 0 (zero) and have a maximum size of IO_SPACE_LIMIT. The conversion