linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Igor Bezukh <Igor@galilsoft.com>
To: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: A question about PCI suspend-resume functionallity
Date: Tue, 8 Jul 2014 15:39:25 +0000	[thread overview]
Message-ID: <1404833913010.27399@galilsoft.com> (raw)

Hi,


We are testing Intel Gigabit adapter driver (igb) under Fedora 20, kernel 3.14.4 for the following use-case:

(*) Adapter is connected to the PCIE slot
(*) We put the system under suspend by running pm-suspend from user-space
(*) Remove the adapter from the PCIE slot
(*) Wake up the system

Currenlty, we got kernel panics and the system got stuck.

My question is - does the PCI subsystem logic calls the driver remove function when driver resume function returns with error code?

Or should I implement the call to igb_remove from igb_resume in the Intel driver?

Thanks,
Igor Bezukh

             reply	other threads:[~2014-07-08 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 15:39 Igor Bezukh [this message]
2014-07-08 20:47 ` A question about PCI suspend-resume functionallity Bjorn Helgaas
2014-07-08 22:05   ` Rafael J. Wysocki
2014-07-09 14:18     ` Alan Stern
2014-07-09 15:55       ` Bjorn Helgaas
2014-07-09 16:26         ` Alan Stern
2014-07-09 16:35         ` Rafael J. Wysocki
2014-07-09 19:24           ` Bjorn Helgaas
2014-07-10 11:39             ` Rafael J. Wysocki
2014-07-10 22:12               ` Bjorn Helgaas
2014-07-11  7:53                 ` Igor Bezukh

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=1404833913010.27399@galilsoft.com \
    --to=igor@galilsoft.com \
    --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 NNTP newsgroup(s).