Re: Problem with Infiniband adapter on IBM p550

2010-11-03 Thread Patrick Finnegan
On Wednesday, November 03, 2010, Anton Blanchard wrote: > Firmware has the concept of "super slots" which allow larger memory > windows and TCE tables. Section 3.4.3 explains it: > > http://www.redbooks.ibm.com/redpapers/pdfs/redp4095.pdf Aha! I tried moving the adapter from slot C3 to C5, which

Re: Problem with Infiniband adapter on IBM p550

2010-11-03 Thread Benjamin Herrenschmidt
On Tue, 2010-11-02 at 23:15 -0400, Patrick Finnegan wrote: > > I don't know why, but it definitely looks like a firmware bug to me. > > On those machines, PCI resource assignment is under hypervisor > > control and so Linux cannot re-assign missing resources itself. > > > > I'll see if I can find

Re: Problem with Infiniband adapter on IBM p550

2010-11-03 Thread Anton Blanchard
Hi, > > Now, I think this is the problem. > > > > The "assigned-addresses" property seems to indicate that the > > firmware only assigned BAR 4 and didn't assign anything to the > > other ones. > > > > I don't know why, but it definitely looks like a firmware bug to me. > > On those machines, P

Re: Problem with Infiniband adapter on IBM p550

2010-11-02 Thread Patrick Finnegan
On Friday, October 08, 2010, Benjamin Herrenschmidt wrote: > > Ok, so from what I can tell, the driver is unhappy because either > > BAR 0 hasn't been assigned a memory resource or the size doesn't > > match what the driver expects. > > Ooops, accidentally sent too quickly... > > >From your OF lo

Re: Problem with Infiniband adapter on IBM p550

2010-10-07 Thread Benjamin Herrenschmidt
> Ok, so from what I can tell, the driver is unhappy because either BAR 0 > hasn't been assigned a memory resource or the size doesn't match what > the driver expects. > Ooops, accidentally sent too quickly... >From your OF log I see: reg 00c1

Re: Problem with Infiniband adapter on IBM p550

2010-10-07 Thread Benjamin Herrenschmidt
On Thu, 2010-10-07 at 23:24 -0400, Patrick Finnegan wrote: > I seem to be running into a problem getting a Mellanox Infinihost > Infiniband adapter working on my IBM p550 (a 9113-550). I'm using > Debian squeeze, and tried upgrading to the 2.6.35.7 kernel without any > help. > > I get the fol