Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-16 Thread Arnd Bergmann
On Wednesday 16 July 2014 09:35:37 Rob Herring wrote: > On Wed, Jul 9, 2014 at 3:31 AM, Arnd Bergmann wrote: > > On Tuesday 08 July 2014, Liviu Dudau wrote: > >> On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: > >> > > >> > I looked at the other drivers briefly, and I think you inde

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-16 Thread Liviu Dudau
On Wed, Jul 16, 2014 at 03:35:37PM +0100, Rob Herring wrote: > On Wed, Jul 9, 2014 at 3:31 AM, Arnd Bergmann wrote: > > On Tuesday 08 July 2014, Liviu Dudau wrote: > >> On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: > >> > > >> > I looked at the other drivers briefly, and I think y

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-16 Thread Rob Herring
On Wed, Jul 9, 2014 at 3:31 AM, Arnd Bergmann wrote: > On Tuesday 08 July 2014, Liviu Dudau wrote: >> On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: >> > >> > I looked at the other drivers briefly, and I think you indeed fix the Tegra >> > driver with this but break the integrator

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-09 Thread Liviu Dudau
On Wed, Jul 09, 2014 at 09:31:50AM +0100, Arnd Bergmann wrote: > On Tuesday 08 July 2014, Liviu Dudau wrote: > > On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: > > > > > > I looked at the other drivers briefly, and I think you indeed fix the > > > Tegra > > > driver with this but

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-09 Thread Arnd Bergmann
On Tuesday 08 July 2014, Liviu Dudau wrote: > On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: > > > > I looked at the other drivers briefly, and I think you indeed fix the Tegra > > driver with this but break the integrator driver as mentioned above. > > The other callers of of_pci_

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-08 Thread Liviu Dudau
On Mon, Jul 07, 2014 at 10:22:00PM +0100, Arnd Bergmann wrote: > On Monday 07 July 2014, Liviu Dudau wrote: > > On Sat, Jul 05, 2014 at 09:46:09PM +0100, Arnd Bergmann wrote: > > > On Saturday 05 July 2014 14:25:52 Rob Herring wrote: > > > > On Tue, Jul 1, 2014 at 1:43 PM, Liviu Dudau wrote: > > >

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-07 Thread Arnd Bergmann
On Monday 07 July 2014, Liviu Dudau wrote: > On Sat, Jul 05, 2014 at 09:46:09PM +0100, Arnd Bergmann wrote: > > On Saturday 05 July 2014 14:25:52 Rob Herring wrote: > > > On Tue, Jul 1, 2014 at 1:43 PM, Liviu Dudau wrote: > > > > The ranges property for a host bridge controller in DT describes > >

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-07 Thread Liviu Dudau
On Sat, Jul 05, 2014 at 09:46:09PM +0100, Arnd Bergmann wrote: > On Saturday 05 July 2014 14:25:52 Rob Herring wrote: > > On Tue, Jul 1, 2014 at 1:43 PM, 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 v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-05 Thread Arnd Bergmann
On Saturday 05 July 2014 14:25:52 Rob Herring wrote: > On Tue, Jul 1, 2014 at 1:43 PM, 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

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-05 Thread Rob Herring
On Tue, Jul 1, 2014 at 1:43 PM, 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 (zero)

[PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-01 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 fr