From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-pm@lists.osdl.org
Cc: David Brownell <david-b@pacbell.net>
Subject: Re: A reference implementation of PCI suspend/resume?
Date: Tue, 17 May 2005 11:10:46 +0200 [thread overview]
Message-ID: <200505171110.47030.rjw@sisk.pl> (raw)
In-Reply-To: <200505161726.42479.david-b@pacbell.net>
[-- Attachment #1: Type: text/plain, Size: 1741 bytes --]
Hi,
On Tuesday, 17 of May 2005 02:26, David Brownell wrote:
> On Monday 16 May 2005 2:19 pm, Jordan Crouse wrote:
> > On Mon, 16 May 2005 16:16:06 -0400
> > "Adam Belay" <ambx1@neo.rr.com> wrote:
> >
> > > b.) You're assuming every device has its own interrupt. This may not
> > > be the case. Let's say one device was sharing interrupts with a few
> > > other devices...
> >
> > I ran into this very problem a while back on 2.4. On my platform, the
> > EHCI and OCHI host controllers share an interrupt. ...
> >
> > Now, granted that particular scenario is a corner case, and the PCI
> > hardware should have been configured better, but it shows that you
> > can't assume that any given interrupt handler will only be called with
> > active hardware underneath.
>
> Very true, and that's part of why drivers/usb/core/hcd-pci.c frees
> IRQs during suspend, and reclaims them later.
>
> AFAICT that code is the most generic PCI suspend/resume code now
> available ... since it's got to work with dozens of different
> implementations of EHCI, OHCI, and UHCI; with widely varying
> BIOS versions and bugs; and where not all controllers support
> the PCI PM extensions.
>
> Note the wierdnesses there ... cases where the PCI API calls are
> wierdly asymmetric, and where "swsusp" can really bork things
> by entering bizarre "resume" paths.
Could you please have a look at http://bugzilla.kernel.org/show_bug.cgi?id=4416
There seems to be a problem with OHCI and EHCI drivers wrt suspend/resume
(swsusp) in the current -mm on that box.
Greets,
Rafael
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2005-05-17 9:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-14 5:06 A reference implementation of PCI suspend/resume? Fabrice Gautier
2005-05-16 4:53 ` David Brownell
2005-05-16 8:55 ` Shaohua Li
2005-05-16 20:16 ` Adam Belay
2005-05-16 20:56 ` Rafael J. Wysocki
2005-05-16 21:19 ` Jordan Crouse
2005-05-17 0:26 ` David Brownell
2005-05-17 9:10 ` Rafael J. Wysocki [this message]
2005-05-17 18:35 ` David Brownell
2005-05-17 19:28 ` Rafael J. Wysocki
2005-05-18 1:26 ` Adam Belay
2005-05-18 17:40 ` Rafael J. Wysocki
2005-05-18 18:32 ` Alan Stern
-- strict thread matches above, loose matches on Subject: below --
2005-05-16 19:02 Fabrice Gautier
2005-05-16 19:39 ` David Brownell
2005-05-12 1:24 Shaohua Li
2005-05-12 6:21 ` Adam Belay
2005-05-12 7:03 ` Shaohua Li
2005-05-27 6:49 ` Shaohua Li
2005-05-27 7:20 ` Pavel Machek
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=200505171110.47030.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=david-b@pacbell.net \
--cc=linux-pm@lists.osdl.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