All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yijing Wang <wangyijing@huawei.com>
To: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Yinghai Lu <yinghai@kernel.org>
Subject: Re: 3.9-rc1: pciehp and eSATA card SiI 3132, no XHCI
Date: Tue, 12 Mar 2013 10:51:42 +0800	[thread overview]
Message-ID: <513E983E.6050400@huawei.com> (raw)
In-Reply-To: <513E7E1E.80508@fold.natur.cuni.cz>

On 2013/3/12 9:00, Martin Mokrejs wrote:
> Hi,
>   I cold-booted a computer with the card inserted before power-on and collected
> lspci output and express card slot status every second. Then I tried eject and
> hotplug inserts and it appearts the card is not detected, actually maybe pciehp
> is not even suppoosed to work in this case as the slot was occupied during boot.
> But let me come to it later.
> 
> I noted the following on the very first eject of the so far cold-plugged card
> that lspci properly reports PresDet change on the Changed: line. The only time
> I ever saw it. ;-)

Hi Martin,
   PresDet change bit will be cleaned as soon as pciehp driver received the inturrupt from hardware,
So it's difficult to capture the change.

> 
> 
> I re-plugged the card and ejected several times while the while loops
> collecting lspci and slot_status via the setpci shell command harvested
> data. Still, in dmesg there was nothing logged regarding card insert/eject.
> Eventually, I tried rmmod sata_sil24 (did NOT need 'rmmod -f') and that
> did log something new.

No new dmesg info when insert/eject maybe indicate the pciehp driver never received the
interrupt or there is no bit set about Presence Detect Changed here. Or there is debug info
like :
pcie_isr: intr_loc %x at least.

eSATA card SiI 3132, no XHCI, hotplug only got problem with 3.9-rc1? or both at 3.7 3.8?


-- 
Thanks!
Yijing


  reply	other threads:[~2013-03-12  2:52 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  1:00 3.9-rc1: pciehp and eSATA card SiI 3132, no XHCI Martin Mokrejs
2013-03-12  2:51 ` Yijing Wang [this message]
2013-03-12  9:57   ` Martin Mokrejs
2013-03-13  2:42 ` Yijing Wang
2013-03-14  0:05   ` Martin Mokrejs
2013-03-14  0:16     ` Martin Mokrejs
2013-03-14  8:38     ` Yijing Wang
     [not found]     ` <51417C28.40402@huawei.com>
2013-03-14 13:00       ` Martin Mokrejs
2013-03-15  2:41         ` Yijing Wang
2013-03-28 18:38           ` Martin Mokrejs
2013-03-29  8:20             ` Huang Ying
2013-03-29 13:08               ` Martin Mokrejs
2013-03-29 14:38                 ` Huang Ying
2013-03-29 15:12                   ` Martin Mokrejs
2013-03-29 14:11               ` Martin Mokrejs
2013-03-29 16:45                 ` Martin Mokrejs
2013-03-29 21:31                 ` Rafael J. Wysocki
2013-03-30  1:17                   ` Martin Mokrejs
2013-03-30  1:48                     ` Rafael J. Wysocki
2013-03-30  1:53                       ` Martin Mokrejs
2013-03-30 17:49                         ` Martin Mokrejs
2013-03-30 22:18                           ` Rafael J. Wysocki
2013-03-30 23:12                             ` Martin Mokrejs
2013-03-31  1:51                               ` Rafael J. Wysocki
2013-03-30 22:17                         ` Rafael J. Wysocki
2013-03-30 22:39                           ` Martin Mokrejs
2013-03-30 10:54                 ` Huang Ying
2013-03-31 10:35                   ` Martin Mokrejs
2013-03-31 14:12                     ` Huang Ying
2013-03-31 15:04                       ` Martin Mokrejs
2013-04-01  7:33                         ` Huang Ying
2013-04-01 17:23                           ` Martin Mokrejs
2013-04-30 21:09                             ` Martin Mokrejs
2013-05-01  0:20                               ` Martin Mokrejs
     [not found]                     ` <515813CB.8020001@fold.natur.cuni.cz>
2013-03-31 23:17                       ` Martin Mokrejs
2013-04-01  0:14                         ` Rafael J. Wysocki
2013-04-01 12:06                           ` Martin Mokrejs
2013-03-31 18:48               ` Martin Mokrejs
2013-03-14 15:18       ` Martin Mokrejs
2013-03-14 15:20       ` Martin Mokrejs
2013-03-14 17:54       ` Martin Mokrejs

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=513E983E.6050400@huawei.com \
    --to=wangyijing@huawei.com \
    --cc=bhelgaas@google.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=mmokrejs@fold.natur.cuni.cz \
    --cc=rjw@sisk.pl \
    --cc=yinghai@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.