From: Yijing Wang <wangyijing@huawei.com>
To: Frank Rizzo <thefrankrizzo@hotmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: Rescan PCIE bus to find recently powered on device.
Date: Sat, 20 Apr 2013 10:59:58 +0800 [thread overview]
Message-ID: <517204AE.9030907@huawei.com> (raw)
In-Reply-To: <BLU0-SMTP185893DF37F0C811FA0BCB7B2C90@phx.gbl>
On 2013/4/20 10:22, Frank Rizzo wrote:
> (with device powered on AFTER boot)
>
> root@frank-System-Product-Name:~# echo 1 > /sys/bus/pci/rescan
Hi Frank,
When you do rescan here, any new message info will print in dmesg?
Compare the two lspci info, it seems like your external device is
02.0-[02]----00.0 Device 1a39:0004, which include a pci bridge and a pci endpoint device.
But let me confused is that after you rescan (with device powered on AFTER boot),
there is no any new device found, normally, at least we should found the bridge device.
Maybe the link between host bridge and your external device got some problems? I am not sure.
> root@frank-System-Product-Name:~# lspci -tv
> -[0000:00]-+-00.0 Advanced Micro Devices [AMD] RS780 Host Bridge
> +-01.0-[01]--+-05.0 Advanced Micro Devices [AMD] nee ATI RS780 [Radeon HD 3200]
> | \-05.1 Advanced Micro Devices [AMD] nee ATI RS780 HDMI Audio [Radeon HD 3000-3300 Series]
> +-05.0-[02]----00.0 JMicron Technology Corp. IEEE 1394 Host Controller
> +-06.0-[03]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
> +-11.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
> +-12.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> +-12.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
> +-12.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
> +-13.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> +-13.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
> +-13.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
> +-14.0 Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller
> +-14.1 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
> +-14.2 Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
> +-14.3 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
> +-14.4-[04]--
> +-14.5 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
> +-18.0 Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
> +-18.1 Advanced Micro Devices [AMD] Family 10h Processor Address Map
> +-18.2 Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
> +-18.3 Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
> \-18.4 Advanced Micro Devices [AMD] Family 10h Processor Link Control
>
>
>
> (with device powered on BEFORE boot)
>
> root@frank-System-Product-Name:~# lspci -tv
> -[0000:00]-+-00.0 Advanced Micro Devices [AMD] RS780 Host Bridge
> +-01.0-[01]--+-05.0 Advanced Micro Devices [AMD] nee ATI RS780 [Radeon HD 3200]
> | \-05.1 Advanced Micro Devices [AMD] nee ATI RS780 HDMI Audio [Radeon HD 3000-3300 Series]
> +-02.0-[02]----00.0 Device 1a39:0004
> +-05.0-[03]----00.0 JMicron Technology Corp. IEEE 1394 Host Controller
> +-06.0-[04]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
> +-11.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
> +-12.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> +-12.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
> +-12.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
> +-13.0 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
> +-13.1 Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller
> +-13.2 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
> +-14.0 Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller
> +-14.1 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller
> +-14.2 Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
> +-14.3 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
> +-14.4-[05]--
> +-14.5 Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
> +-18.0 Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
> +-18.1 Advanced Micro Devices [AMD] Family 10h Processor Address Map
> +-18.2 Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
> +-18.3 Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
> \-18.4 Advanced Micro Devices [AMD] Family 10h Processor Link Control
>
> .
>
--
Thanks!
Yijing
next prev parent reply other threads:[~2013-04-20 3:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 2:59 Rescan PCIE bus to find recently powered on device Frank Rizzo
2013-04-19 3:27 ` Yijing Wang
2013-04-19 15:49 ` Bjorn Helgaas
[not found] ` <BLU0-SMTP305A7D1308063E03F4C5CE9B2C90@phx.gbl>
[not found] ` <5171F610.80001@huawei.com>
2013-04-20 2:22 ` Frank Rizzo
2013-04-20 2:59 ` Yijing Wang [this message]
2013-04-20 3:26 ` Frank Rizzo
2013-04-20 5:47 ` Yijing Wang
2013-04-20 16:10 ` Jiang Liu
2013-04-20 16:17 ` Jiang Liu
2013-04-20 20:52 ` Frank Rizzo
2013-04-21 2:21 ` Jiang Liu
2013-04-22 17:21 ` Bjorn Helgaas
2013-05-12 22:13 ` Frank Rizzo
2013-05-13 5:35 ` Frank Rizzo
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=517204AE.9030907@huawei.com \
--to=wangyijing@huawei.com \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
--cc=thefrankrizzo@hotmail.com \
/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.