Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-29 Thread Jeremy Linton
|-Original Message- |From: Sudeep Holla [mailto:sudeep.ho...@arm.com] |Sent: Tuesday, November 22, 2016 10:11 AM |To: Tom Rini; Liviu Dudau |Cc: Sudeep Holla; Lorenzo Pieralisi; Jeremy Linton; U-Boot ML |Subject: Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses |for IO to

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Sudeep Holla
On 22/11/16 15:08, Tom Rini wrote: On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: Hi Liviu, On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau wrote: Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First,

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Ryan Harkin
On 22 November 2016 at 15:08, Tom Rini wrote: > On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: >> On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: >> > Hi Liviu, >> > >> > On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau >> > wrote: >> > > Juno uses a 1:1 mapping between

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: > On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: > > Hi Liviu, > > > > On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau > > wrote: > > > Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, > > > that will t

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Liviu Dudau
On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: > Hi Liviu, > > On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau > wrote: > > Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, > > that will trip devices that cannot use more than 16 bits of addresses > > for IO, seco

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Sudeep Holla
Hi Liviu, On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau wrote: > Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, > that will trip devices that cannot use more than 16 bits of addresses > for IO, second it is un-necessary as the system can handle zero-based > PCI addresses jus

[U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Liviu Dudau
Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, that will trip devices that cannot use more than 16 bits of addresses for IO, second it is un-necessary as the system can handle zero-based PCI addresses just fine. Change the mapping to start IO bus addresses from zero. Signed-