Re: PCI IO range limitation

2007-07-06 Thread Marian Balakowicz
Benjamin Herrenschmidt wrote: > On Tue, 2007-07-03 at 11:24 +0200, Marian Balakowicz wrote: >> Benjamin Herrenschmidt wrote: >>> On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: I guess that with the above dropping of non-zero based PCI IO ranges this is not supposed to be work

Re: PCI IO range limitation

2007-07-03 Thread Benjamin Herrenschmidt
On Tue, 2007-07-03 at 11:24 +0200, Marian Balakowicz wrote: > Benjamin Herrenschmidt wrote: > > On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: > >> I guess that with the above dropping of non-zero based PCI IO ranges > >> this is not supposed to be working. But does anyone know why? >

Re: PCI IO range limitation

2007-07-03 Thread Marian Balakowicz
Benjamin Herrenschmidt wrote: > On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: >> I guess that with the above dropping of non-zero based PCI IO ranges >> this is not supposed to be working. But does anyone know why? > > We just fixed that for 64 bits but 32 bits still has the limitati

Re: PCI IO range limitation

2007-06-29 Thread Benjamin Herrenschmidt
> Define "legacy device"? What should that entail? You mean like mapping > most of those registers to the first couple of kilobytes of "IO"? Anything that hard-decodes IOs in the low ISA range yes. That includes VGA video cards. > If they're just left as their own on their own as PCI devices, wh

Re: PCI IO range limitation

2007-06-29 Thread Matt Sealey
Benjamin Herrenschmidt wrote: > On Fri, 2007-06-29 at 00:38 +0100, Matt Sealey wrote: >> Benjamin Herrenschmidt wrote: >>> On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: Hi, Trying to change PCI IO window base for 52xx target I found that we are pretty much limited

Re: PCI IO range limitation

2007-06-28 Thread Benjamin Herrenschmidt
On Fri, 2007-06-29 at 00:38 +0100, Matt Sealey wrote: > Benjamin Herrenschmidt wrote: > > On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: > >> Hi, > >> > >> Trying to change PCI IO window base for 52xx target I found that > >> we are pretty much limited to a "0" offset only. > > > > We

Re: PCI IO range limitation

2007-06-28 Thread Matt Sealey
Benjamin Herrenschmidt wrote: > On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: >> Hi, >> >> Trying to change PCI IO window base for 52xx target I found that >> we are pretty much limited to a "0" offset only. > > We just fixed that for 64 bits but 32 bits still has the limitation. >

Re: PCI IO range limitation

2007-06-28 Thread Benjamin Herrenschmidt
On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote: > Hi, > > Trying to change PCI IO window base for 52xx target I found that > we are pretty much limited to a "0" offset only. > > pci_process_bridge_OF_ranges() will not process any IO range that has > addresses set to anything else. >

PCI IO range limitation

2007-06-28 Thread Marian Balakowicz
Hi, Trying to change PCI IO window base for 52xx target I found that we are pretty much limited to a "0" offset only. pci_process_bridge_OF_ranges() will not process any IO range that has addresses set to anything else. 956: case 1: /* I/O space */ 957: if (ranges[2]