Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-18 Thread Andrew Murray
On Fri, Feb 15, 2013 at 01:16:17PM +, Linus Walleij wrote: > n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding > wrote: > > On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: > >> Thierry, > >> > >> If you don't have much bandwidth I'd be quite happy to take this on - this > >> would

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-18 Thread Andrew Murray
On Fri, Feb 15, 2013 at 01:16:17PM +, Linus Walleij wrote: n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-15 Thread Linus Walleij
n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding wrote: > On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: >> Thierry, >> >> If you don't have much bandwidth I'd be quite happy to take this on - this >> would be beneficial for my eventual patchset. I can start by refactoring >>

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-15 Thread Linus Walleij
n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this on - this would be beneficial for my eventual patchset. I can start

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thomas Petazzoni
Hello, On Thu, 14 Feb 2013 20:17:45 +0100, Thierry Reding wrote: > On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: > > Thierry, > > > > If you don't have much bandwidth I'd be quite happy to take this on - this > > would be beneficial for my eventual patchset. I can start by

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: > Thierry, > > If you don't have much bandwidth I'd be quite happy to take this on - this > would be beneficial for my eventual patchset. I can start by refactoring > common > implementations of pci_process_bridge_OF_ranges or

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Andrew Murray
On Wed, Feb 13, 2013 at 10:53:11PM +, Grant Likely wrote: > On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding > wrote: > > From: Andrew Murray > > > > DT bindings for PCI host bridges often use the ranges property to describe > > memory and IO ranges - this binding tends to be the same

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Andrew Murray
On Wed, Feb 13, 2013 at 10:53:11PM +, Grant Likely wrote: On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thierry Reding
On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this on - this would be beneficial for my eventual patchset. I can start by refactoring common implementations of pci_process_bridge_OF_ranges or similar

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-14 Thread Thomas Petazzoni
Hello, On Thu, 14 Feb 2013 20:17:45 +0100, Thierry Reding wrote: On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this on - this would be beneficial for my eventual patchset. I can start by refactoring

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:09:56PM +, Grant Likely wrote: > On Wed, 13 Feb 2013 22:29:51 +0100, Thierry Reding > wrote: > > On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: > > > On 02/13/2013 08:25 AM, Thierry Reding wrote: > > > > On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding wrote: > From: Andrew Murray > > DT bindings for PCI host bridges often use the ranges property to describe > memory and IO ranges - this binding tends to be the same across architectures > yet several parsing implementations exist, e.g.

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Grant Likely
On Wed, 13 Feb 2013 22:29:51 +0100, Thierry Reding wrote: > On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: > > On 02/13/2013 08:25 AM, Thierry Reding wrote: > > > On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: > > >> On 02/12/2013 12:45 AM, Thierry Reding wrote: > >

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: > On 02/13/2013 08:25 AM, Thierry Reding wrote: > > On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: > >> On 02/12/2013 12:45 AM, Thierry Reding wrote: > >>> On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: >

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Rob Herring
On 02/13/2013 08:25 AM, Thierry Reding wrote: > On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: >> On 02/12/2013 12:45 AM, Thierry Reding wrote: >>> On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013 02:22 AM, Thierry Reding wrote: > From: Andrew

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: > On 02/12/2013 12:45 AM, Thierry Reding wrote: > > On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: > >> On 02/11/2013 02:22 AM, Thierry Reding wrote: > >>> From: Andrew Murray > > >>> @@ -13,6 +13,7 @@ > >>> #define

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Rob Herring
On 02/12/2013 12:45 AM, Thierry Reding wrote: > On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: >> On 02/11/2013 02:22 AM, Thierry Reding wrote: >>> From: Andrew Murray >>> @@ -13,6 +13,7 @@ >>> #define OF_CHECK_COUNTS(na, ns)(OF_CHECK_ADDR_COUNT(na) && (ns) > 0) >>> >>>

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Rob Herring
On 02/12/2013 12:45 AM, Thierry Reding wrote: On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray andrew.mur...@arm.com @@ -13,6 +13,7 @@ #define OF_CHECK_COUNTS(na, ns)(OF_CHECK_ADDR_COUNT(na) (ns) 0)

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: On 02/12/2013 12:45 AM, Thierry Reding wrote: On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray andrew.mur...@arm.com @@ -13,6 +13,7 @@ #define

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Rob Herring
On 02/13/2013 08:25 AM, Thierry Reding wrote: On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: On 02/12/2013 12:45 AM, Thierry Reding wrote: On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: On 02/13/2013 08:25 AM, Thierry Reding wrote: On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: On 02/12/2013 12:45 AM, Thierry Reding wrote: On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Grant Likely
On Wed, 13 Feb 2013 22:29:51 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: On 02/13/2013 08:25 AM, Thierry Reding wrote: On Wed, Feb 13, 2013 at 08:23:28AM -0600, Rob Herring wrote: On 02/12/2013 12:45 AM,

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:09:56PM +, Grant Likely wrote: On Wed, 13 Feb 2013 22:29:51 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: On 02/13/2013 08:25 AM, Thierry Reding wrote: On Wed, Feb 13, 2013 at

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Thierry Reding
On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: > On 02/11/2013 02:22 AM, Thierry Reding wrote: > > From: Andrew Murray > > > > DT bindings for PCI host bridges often use the ranges property to describe > > memory and IO ranges - this binding tends to be the same across > >

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Rob Herring
On 02/11/2013 02:22 AM, Thierry Reding wrote: > From: Andrew Murray > > DT bindings for PCI host bridges often use the ranges property to describe > memory and IO ranges - this binding tends to be the same across architectures > yet several parsing implementations exist, e.g.

[PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Thierry Reding
From: Andrew Murray DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g. arch/mips/pci/pci.c, arch/powerpc/kernel/pci-common.c,

[PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Thierry Reding
From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g. arch/mips/pci/pci.c, arch/powerpc/kernel/pci-common.c,

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Rob Herring
On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g.

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-11 Thread Thierry Reding
On Mon, Feb 11, 2013 at 01:43:03PM -0600, Rob Herring wrote: On 02/11/2013 02:22 AM, Thierry Reding wrote: From: Andrew Murray andrew.mur...@arm.com DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across