linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shlomo Pongratz <shlomopongratz@gmail.com>
To: linux-pci@vger.kernel.org, linux-hotplug@vger.kernel.org
Subject: Cabled PCIE device hotplug/hot-removal
Date: Thu, 26 Jul 2012 17:03:09 +0000	[thread overview]
Message-ID: <CAHzK-V0XpkVJHgqWiWpYP1jx5DPX=voE0eymK+5FG-zhrJOwAQ@mail.gmail.com> (raw)

Hi,

I have a  PCIe device connected with cables to a host (kernel 3.5.0-rc7+).
What are the handler I need to add to a driver in order to catch cable
pull-out / push-in?

The pcisig presentation
"http://www.pcisig.com/developers/main/training_materials/get_document?doc_idôca40ec1721aa7fadd05e2903b0172c36656294"
talks about PERST# detection for cabled PCIe hotplug.

Does the kernel detect it?

None of the pci_driver or pci_error_handlers callbacks were called
when using powered down/up the device (electrically).

Thanks.

Shlomo Pongratz

             reply	other threads:[~2012-07-26 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-26 17:03 Shlomo Pongratz [this message]
2012-07-26 17:09 ` Cabled PCIE device hotplug/hot-removal Greg KH
2012-07-29 12:36   ` Shlomo Pongratz
2012-07-29 14:59     ` Greg KH
2012-07-31 11:02     ` Kaneshige, Kenji
2012-07-31 14:59       ` Shlomo Pongratz

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='CAHzK-V0XpkVJHgqWiWpYP1jx5DPX=voE0eymK+5FG-zhrJOwAQ@mail.gmail.com' \
    --to=shlomopongratz@gmail.com \
    --cc=linux-hotplug@vger.kernel.org \
    --cc=linux-pci@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 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 read-only IMAP folder(s) and NNTP newsgroup(s).