linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 440SPe/Katmai PCIe problems
@ 2010-05-12  2:40 Benjamin Herrenschmidt
  2010-05-12  3:02 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2010-05-12  2:40 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev, Pravin Bathija

Hi Stefan !

(Or somebody from AMCC)

I noticed we still have this old problem on PCIe where some cards don't
seem to work. The link trains but they don't respond on config space.
This is the case for example of that Sunix quad USB card. It seems to be
related to the kind of TI PCIe <-> PCI bridge on these though.

Have anybody tracked down the root cause of the problem ? Some say that
it could be that the bridge doesn't cope with the double reset (uboot
then kernel). Would it be possible to tell uboot to avoid touching the
PCIe interface completely so the kernel is the first one to get in ?

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 440SPe/Katmai PCIe problems
  2010-05-12  2:40 440SPe/Katmai PCIe problems Benjamin Herrenschmidt
@ 2010-05-12  3:02 ` Benjamin Herrenschmidt
  2010-05-12  3:30   ` Pravin Bathija
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2010-05-12  3:02 UTC (permalink / raw)
  To: Stefan Roese; +Cc: linuxppc-dev, Pravin Bathija

On Wed, 2010-05-12 at 12:40 +1000, Benjamin Herrenschmidt wrote:
> Hi Stefan !
> 
> (Or somebody from AMCC)
> 
> I noticed we still have this old problem on PCIe where some cards don't
> seem to work. The link trains but they don't respond on config space.
> This is the case for example of that Sunix quad USB card. It seems to be
> related to the kind of TI PCIe <-> PCI bridge on these though.
> 
> Have anybody tracked down the root cause of the problem ? Some say that
> it could be that the bridge doesn't cope with the double reset (uboot
> then kernel). Would it be possible to tell uboot to avoid touching the
> PCIe interface completely so the kernel is the first one to get in ?

Actually... the card works in the Canyonlands using the latest u-boot
from ftp.denx.de (u-boot-nand.bin-2009.11.1), though interestingly
enough, this u-boot fails to detect an XGI Z11 video card that I have,
whichever slot I put it in.

in fact, the kernel itself detects the card and times out trying to get
a link. It works with whatever u-boot I used to have in there (and no
longer do ... oops :-)

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: 440SPe/Katmai PCIe problems
  2010-05-12  3:02 ` Benjamin Herrenschmidt
@ 2010-05-12  3:30   ` Pravin Bathija
  0 siblings, 0 replies; 3+ messages in thread
From: Pravin Bathija @ 2010-05-12  3:30 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Stefan Roese; +Cc: linuxppc-dev

DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEJlbmphbWluIEhlcnJlbnNj
aG1pZHQgW21haWx0bzpiZW5oQGtlcm5lbC5jcmFzaGluZy5vcmddDQo+IFNlbnQ6IFR1ZXNkYXks
IE1heSAxMSwgMjAxMCA4OjAzIFBNDQo+IFRvOiBTdGVmYW4gUm9lc2UNCj4gQ2M6IGxpbnV4cHBj
LWRldjsgUHJhdmluIEJhdGhpamENCj4gU3ViamVjdDogUmU6IDQ0MFNQZS9LYXRtYWkgUENJZSBw
cm9ibGVtcw0KPiANCj4gT24gV2VkLCAyMDEwLTA1LTEyIGF0IDEyOjQwICsxMDAwLCBCZW5qYW1p
biBIZXJyZW5zY2htaWR0IHdyb3RlOg0KPiA+IEhpIFN0ZWZhbiAhDQo+ID4NCj4gPiAoT3Igc29t
ZWJvZHkgZnJvbSBBTUNDKQ0KPiA+DQo+ID4gSSBub3RpY2VkIHdlIHN0aWxsIGhhdmUgdGhpcyBv
bGQgcHJvYmxlbSBvbiBQQ0llIHdoZXJlIHNvbWUgY2FyZHMNCj4gZG9uJ3QNCj4gPiBzZWVtIHRv
IHdvcmsuIFRoZSBsaW5rIHRyYWlucyBidXQgdGhleSBkb24ndCByZXNwb25kIG9uIGNvbmZpZyBz
cGFjZS4NCj4gPiBUaGlzIGlzIHRoZSBjYXNlIGZvciBleGFtcGxlIG9mIHRoYXQgU3VuaXgg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ZlciB1LWJvb3QgSSB1c2VkIHRvIGhhdmUg
aW4gdGhlcmUgKGFuZCBubw0KPiBsb25nZXIgZG8gLi4uIG9vcHMgOi0pDQo+IA0KPiBDaGVlcnMs
DQo+IEJlbi4NCj4gDQoNCg0KQmVuLA0KDQpUaGFua3MgZm9yIGJyaW5naW5nIHRoaXMgdG8gb3Vy
IGF0dGVudGlvbi4gV2UnbGwgcmVzZWFyY2ggdGhpcyBpc3N1ZS4NCg0KUmVnYXJkcywNClByYXZp
bg0KDQoNCg==

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-12  3:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12  2:40 440SPe/Katmai PCIe problems Benjamin Herrenschmidt
2010-05-12  3:02 ` Benjamin Herrenschmidt
2010-05-12  3:30   ` Pravin Bathija

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).