linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Ayman El-Khashab <ayman@elkhashab.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: help debugging linux setting PLX Gen2 PCIe switches to gen1 speed
Date: Tue, 8 Feb 2011 13:19:13 -0600	[thread overview]
Message-ID: <20110208191913.GA16286@crust.elkhashab.com> (raw)

I've got a custom 460SX board with PLX gen2 (8616) switches.  

When u-boot comes up everything is fine and my switches are indicating they 
are in Gen2 PCIe mode.  If I let it boot my linux kernel (denx 2.6.36.1), boot
almost immediately, the LEDs on my switches start to blink indicating they 
have are now at Gen1 speed.  I've turned on debug in ppc4xx_pci.c but don't see 
anything obvious.  As far as when it happens, it looks like the last message
to the console is "uncompressing kernel" and then the LEDs start blinking.
seems that it indicates it is very early.  I've also tried removing all the PCIe
from the device tree, but that did not matter.

In the data sheet it indicates that PEDSRn_RCEI can change the advertised rate.
I've disabled that in the code, but it did not make any difference.

I am just not sure where things are getting switched over.  Any help would be 
appreciated. 

best
ayman

                 reply	other threads:[~2011-02-08 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110208191913.GA16286@crust.elkhashab.com \
    --to=ayman@elkhashab.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).