Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-06 Thread Rob Herring
On Sat, Apr 4, 2015 at 10:25 PM, Bjorn Helgaas wrote: > On Sat, Apr 4, 2015 at 2:48 PM, Rob Herring wrote: >> On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: > >>> I think there's still an unresolved question about the OF parsing code. >> >> Got a pointer to what that is? I'll take a guess.

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Bjorn Helgaas
On Sat, Apr 4, 2015 at 2:48 PM, Rob Herring wrote: > On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: >> I think there's still an unresolved question about the OF parsing code. > > Got a pointer to what that is? I'll take a guess. Generally, we make > the parsing code independent of the kern

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Rob Herring
On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: > On Fri, Apr 3, 2015 at 10:34 PM, Yinghai Lu wrote: >> On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: >>> [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, >>> linux-mips, Ben, linuxppc-dev, x86] >>> >>> On Fri

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Bjorn Helgaas
On Fri, Apr 3, 2015 at 10:34 PM, Yinghai Lu wrote: > On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: >> [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, >> linux-mips, Ben, linuxppc-dev, x86] >> >> On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: >>>

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Yinghai Lu
On Fri, Apr 3, 2015 at 11:59 AM, Bjorn Helgaas wrote: > On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: >> David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows >> to fit in upstream windows") broke booting on sparc/T5-8. >> >> In the boot log, there is >> pci :0

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Yinghai Lu
On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: > [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, > linux-mips, Ben, linuxppc-dev, x86] > > On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: >> On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote:

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Bjorn Helgaas
[+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, linux-mips, Ben, linuxppc-dev, x86] On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: > On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: > > David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip b

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Bjorn Helgaas
On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: > David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows > to fit in upstream windows") broke booting on sparc/T5-8. > > In the boot log, there is > pci :06:00.0: reg 0x184: can't handle BAR above 4GB (bus address >

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread David Miller
From: Bjorn Helgaas Date: Fri, 3 Apr 2015 13:59:39 -0500 > On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: >> David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows >> to fit in upstream windows") broke booting on sparc/T5-8. >> >> In the boot log, there is >> pci 0

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Bjorn Helgaas
On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: > David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows > to fit in upstream windows") broke booting on sparc/T5-8. > > In the boot log, there is > pci :06:00.0: reg 0x184: can't handle BAR above 4GB (bus address >

[PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-03-31 Thread Yinghai Lu
David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows to fit in upstream windows") broke booting on sparc/T5-8. In the boot log, there is pci :06:00.0: reg 0x184: can't handle BAR above 4GB (bus address 0x110204000) but that only could happen when dma_addr_t is 32-bit. Ac