All of lore.kernel.org
 help / color / mirror / Atom feed
From: wangyijing <wangyijing@huawei.com>
To: sparclinux@vger.kernel.org
Subject: Re: bisected: boot hang on sparc64 after PCIe changes
Date: Thu, 13 Aug 2015 01:08:07 +0000	[thread overview]
Message-ID: <55CBEDF7.5010109@huawei.com> (raw)
In-Reply-To: <alpine.LRH.2.20.1508122118210.18637@math.ut.ee>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 3711 bytes --]

Hi Meelis, could you provide your PCI info on your machine ?

lspci -vvv and lspci -tv could help us to find it out.

If you could not boot up with 4.2-rc2, dump above information
with 4.1.0. We want to know what the pcie tree in your machine, thanks!

Thanks!
Yijing.

在 2015/8/13 2:56, Meelis Roos 写道:
> 4.1.0 worked but 4.2-rc2 hangs on boot after switching console but 
> before reprinting dmesg to the new console. That happens on 2 of my 
> sparc64's: T2000 and V245. These happen to have the PCIe slot names in 
> sysfs so it may be related. The following commit breaks the boot at 
> least on V245 where I performed the bisection:
> 
> d0751b98dfa391f862e02dc36a233a54615e3f1d is the first bad commit
> commit d0751b98dfa391f862e02dc36a233a54615e3f1d
> Author: Yijing Wang <wangyijing@huawei.com>
> Date:   Thu May 21 15:05:02 2015 +0800
> 
>     PCI: Add dev->has_secondary_link to track downstream PCIe links
> 
>     A PCIe Port is an interface to a Link.  A Root Port is a PCI-PCI bridge in
>     a Root Complex and has a Link on its secondary (downstream) side.  For
>     other Ports, the Link may be on either the upstream (closer to the Root
>     Complex) or downstream side of the Port.
> 
>     The usual topology has a Root Port connected to an Upstream Port.  We
>     previously assumed this was the only possible topology, and that a
>     Downstream Port's Link was always on its downstream side, like this:
> 
>                       +---------------------+
>       +------+        |          Downstream |
>       | Root |        | Upstream       Port +--Link--
>       | Port +--Link--+ Port                |
>       +------+        |          Downstream |
>                       |                Port +--Link--
>                       +---------------------+
> 
>     But systems do exist (see URL below) where the Root Port is connected to a
>     Downstream Port.  In this case, a Downstream Port's Link may be on either
>     the upstream or downstream side:
> 
>                       +---------------------+
>       +------+        |            Upstream |
>       | Root |        | Downstream     Port +--Link--
>       | Port +--Link--+ Port                |
>       +------+        |          Downstream |
>                       |                Port +--Link--
>                       +---------------------+
> 
>     We can't use the Port type to determine which side the Link is on, so add a
>     bit in struct pci_dev to keep track.
> 
>     A Root Port's Link is always on the Port's secondary side.  A component
>     (Endpoint or Port) on the other end of the Link obviously has the Link on
>     its upstream side.  If that component is a Port, it is part of a Switch or
>     a Bridge.  A Bridge has a PCI or PCI-X bus on its secondary side, not a
>     Link.  The internal bus of a Switch connects the Port to another Port whose
>     Link is on the downstream side.
> 
>     [bhelgaas: changelog, comment, cache "type", use if/else]
>     Link: http://lkml.kernel.org/r/54EB81B2.4050904@pobox.com
>     Link: https://bugzilla.kernel.org/show_bug.cgi?id”361
>     Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
>     Signed-off-by: Yijing Wang <wangyijing@huawei.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> 
> :040000 040000 3ab85bca5c0a1bdb75f7b83131482fe63110c96f dc49c2621bd450d16eea33491a27affc1dab35ce M      drivers
> :040000 040000 37493ef5238ad154ccad6a184617975e8502730e ef846910636ac2405879bcf5395e261df396e266 M      include
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-08-13  1:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 18:56 bisected: boot hang on sparc64 after PCIe changes Meelis Roos
2015-08-13  1:08 ` wangyijing [this message]
2015-08-13  8:15 ` Meelis Roos
2015-08-13 10:15 ` Meelis Roos
2015-08-13 10:28 ` wangyijing
2015-08-13 10:49 ` wangyijing
2015-08-13 12:23 ` Meelis Roos
2015-08-13 12:53 ` wangyijing
2015-08-17  7:45 ` Meelis Roos
2015-08-17  8:03 ` wangyijing

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=55CBEDF7.5010109@huawei.com \
    --to=wangyijing@huawei.com \
    --cc=sparclinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.