Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-09-01 Thread Yijing Wang
On 2014/8/13 0:25, Liviu Dudau wrote: > Some architectures do not have a simple view of the PCI I/O space > and instead use a range of CPU addresses that map to bus addresses. > For some architectures these ranges will be expressed by OF bindings > in a device tree file. > > This patch introduces

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-09-01 Thread Yijing Wang
On 2014/8/13 0:25, Liviu Dudau wrote: Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. This patch introduces a

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-21 Thread Rob Herring
On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau wrote: > Some architectures do not have a simple view of the PCI I/O space > and instead use a range of CPU addresses that map to bus addresses. > For some architectures these ranges will be expressed by OF bindings > in a device tree file. > > This

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-21 Thread Rob Herring
On Tue, Aug 12, 2014 at 11:25 AM, Liviu Dudau liviu.du...@arm.com wrote: Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Catalin Marinas
On Mon, Aug 18, 2014 at 10:34:46PM +0100, Liviu Dudau wrote: > On Mon, Aug 18, 2014 at 03:26:04PM +0100, Catalin Marinas wrote: > > On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: > > > Some architectures do not have a simple view of the PCI I/O space > > > and instead use a range of

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Liviu Dudau
On Mon, Aug 18, 2014 at 03:26:04PM +0100, Catalin Marinas wrote: > On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: > > Some architectures do not have a simple view of the PCI I/O space > > and instead use a range of CPU addresses that map to bus addresses. > > For some architectures

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Catalin Marinas
On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: > Some architectures do not have a simple view of the PCI I/O space > and instead use a range of CPU addresses that map to bus addresses. > For some architectures these ranges will be expressed by OF bindings > in a device tree file. >

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Catalin Marinas
On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. This

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Liviu Dudau
On Mon, Aug 18, 2014 at 03:26:04PM +0100, Catalin Marinas wrote: On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these

Re: [PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-18 Thread Catalin Marinas
On Mon, Aug 18, 2014 at 10:34:46PM +0100, Liviu Dudau wrote: On Mon, Aug 18, 2014 at 03:26:04PM +0100, Catalin Marinas wrote: On Tue, Aug 12, 2014 at 05:25:16PM +0100, Liviu Dudau wrote: Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU

[PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-12 Thread Liviu Dudau
Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. This patch introduces a pci_register_io_range() helper function with a

[PATCH v9 03/12] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-08-12 Thread Liviu Dudau
Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. This patch introduces a pci_register_io_range() helper function with a