From: Greg KH <gregkh@suse.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Andrew Morton <akpm@linux-foundation.org>,
Andrey Borzenkov <arvidjaar@mail.ru>,
LKML <linux-kernel@vger.kernel.org>,
USB list <linux-usb@vger.kernel.org>,
pm list <linux-pm@lists.linux-foundation.org>,
Christian Borntraeger <borntraeger@de.ibm.com>,
Zdenek Kabelac <zdenek.kabelac@gmail.com>,
Ingo Molnar <mingo@elte.hu>,
Jeff Chua <jeff.chua.linux@gmail.com>
Subject: Re: [PATCH] USB: Fix suspend-resume of PCI USB controllers
Date: Mon, 19 Jan 2009 17:36:02 -0800 [thread overview]
Message-ID: <20090120013602.GA8377@suse.de> (raw)
In-Reply-To: <200901200126.57839.rjw@sisk.pl>
On Tue, Jan 20, 2009 at 01:26:56AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@sisk.pl>
>
> Commit a0d4922da2e4ccb0973095d8d29f36f6b1b5f703
> (USB: fix up suspend and resume for PCI host controllers) attempted
> to fix the suspend-resume of PCI USB controllers, but unfortunately
> it did that incorrectly and interrupts are left enabled by the USB
> controllers' ->suspend_late() callback as a result. This leads to
> serious problems during suspend which are very difficult to debug.
>
> Fix the issue by removing the ->suspend_late() callback of PCI
> USB controllers and moving the code from there to the ->suspend()
> callback executed with interrupts enabled. Additionally, make
> the ->resume() callback of PCI USB controllers execute
> pci_enable_wake(dev, PCI_D0, false) to disable wake-up from the
> full power state (PCI_D0).
>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> Tested-by: Andrey Borzenkov <arvidjaar@mail.ru>
> Tested-by: "Jeff Chua" <jeff.chua.linux@gmail.com>
> Cc: Alan Stern <stern@rowland.harvard.edu>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: "Zdenek Kabelac" <zdenek.kabelac@gmail.com>
> Cc: Ingo Molnar <mingo@elte.hu>
Alan, does this look ok for you?
thanks,
greg k-h
next prev parent reply other threads:[~2009-01-20 1:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 0:26 Rafael J. Wysocki
2009-01-20 1:36 ` Greg KH [this message]
2009-01-20 15:54 ` Alan Stern
2009-01-20 20:33 ` Len Brown
2009-01-20 21:03 ` Rafael J. Wysocki
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=20090120013602.GA8377@suse.de \
--to=gregkh@suse.de \
--cc=akpm@linux-foundation.org \
--cc=arvidjaar@mail.ru \
--cc=borntraeger@de.ibm.com \
--cc=jeff.chua.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
--cc=stern@rowland.harvard.edu \
--cc=zdenek.kabelac@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome