Re: device not available because of BAR 0 collisions

2011-04-28 Thread Steven A. Falco
On 04/28/2011 05:14 PM, Benjamin Herrenschmidt wrote: > On Thu, 2011-04-28 at 17:11 -0400, Steven A. Falco wrote: > >> It is in __dev_sort_resources() in setup-bus.c >> >> There is this test: >> >> /* Don't touch classless devices or host bridges or ioapics. */ >> if (class == PCI_CLASS

Re: device not available because of BAR 0 collisions

2011-04-28 Thread Benjamin Herrenschmidt
On Thu, 2011-04-28 at 17:11 -0400, Steven A. Falco wrote: > It is in __dev_sort_resources() in setup-bus.c > > There is this test: > > /* Don't touch classless devices or host bridges or ioapics. */ > if (class == PCI_CLASS_NOT_DEFINED || class == PCI_CLASS_BRIDGE_HOST) >

Re: device not available because of BAR 0 collisions

2011-04-28 Thread Steven A. Falco
On 04/28/2011 04:55 PM, Benjamin Herrenschmidt wrote: > On Thu, 2011-04-28 at 13:29 -0400, Steven A. Falco wrote: >> On 04/27/2011 03:51 PM, Steven A. Falco wrote: >>> On 04/26/2011 07:39 PM, Benjamin Herrenschmidt wrote: On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: > On 04/25

Re: device not available because of BAR 0 collisions

2011-04-28 Thread Benjamin Herrenschmidt
On Thu, 2011-04-28 at 13:29 -0400, Steven A. Falco wrote: > On 04/27/2011 03:51 PM, Steven A. Falco wrote: > > On 04/26/2011 07:39 PM, Benjamin Herrenschmidt wrote: > >> On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: > >>> On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: > On M

Re: device not available because of BAR 0 collisions

2011-04-28 Thread Steven A. Falco
On 04/27/2011 03:51 PM, Steven A. Falco wrote: > On 04/26/2011 07:39 PM, Benjamin Herrenschmidt wrote: >> On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: >>> On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: > I'm gett

Re: device not available because of BAR 0 collisions

2011-04-27 Thread Steven A. Falco
On 04/26/2011 07:39 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: >> On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: >>> On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: I'm getting an error message when trying to talk to some cust

Re: device not available because of BAR 0 collisions

2011-04-27 Thread Steven A. Falco
On 04/26/2011 07:39 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: >> On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: >>> On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: I'm getting an error message when trying to talk to some cust

Re: device not available because of BAR 0 collisions

2011-04-26 Thread Benjamin Herrenschmidt
On Tue, 2011-04-26 at 09:38 -0400, Steven A. Falco wrote: > On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: > > On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: > >> I'm getting an error message when trying to talk to some custom > >> hardware: > >> > >> dx83xx 0001:43:00.0: device n

Re: device not available because of BAR 0 collisions

2011-04-26 Thread Steven A. Falco
On 04/25/2011 08:01 PM, Benjamin Herrenschmidt wrote: > On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: >> I'm getting an error message when trying to talk to some custom >> hardware: >> >> dx83xx 0001:43:00.0: device not available because of BAR 0 >> [0xa100-0xa1ff] collisions >>

Re: device not available because of BAR 0 collisions

2011-04-25 Thread Benjamin Herrenschmidt
On Mon, 2011-04-25 at 16:10 -0400, Steven A. Falco wrote: > I'm getting an error message when trying to talk to some custom > hardware: > > dx83xx 0001:43:00.0: device not available because of BAR 0 > [0xa100-0xa1ff] collisions > > I see in setup-res.c that this message comes out when the