All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Greg KH <greg@kroah.com>
Cc: Peter Chen <peter.chen@freescale.com>,
	gregkh@suse.de, linux-kernel@vger.kernel.org,
	linux-pm@vger.kernel.org, stern@rowland.harvard.edu,
	hzpeterchen@gmail.com
Subject: Re: [PATCH 1/1] driver core: disable device's runtime pm during shutdown
Date: Wed, 16 Nov 2011 00:16:08 +0100	[thread overview]
Message-ID: <201111160016.09174.rjw@sisk.pl> (raw)
In-Reply-To: <20111115005951.GB26360@kroah.com>

On Tuesday, November 15, 2011, Greg KH wrote:
> On Mon, Nov 14, 2011 at 11:27:37PM +0100, Rafael J. Wysocki wrote:
> > On Monday, November 14, 2011, Peter Chen wrote:
> > > There may be an issue when the user issue "reboot/shutdown" command, then
> > > the device has shut down its hardware, after that, this runtime-pm featured
> > > device's driver will probably be scheduled to do its suspend routine,
> > > and at its suspend routine, it may access hardware, but the device has
> > > already shutdown physically, then the system hang may be occurred.
> > > 
> > > I ran out this issue using an auto-suspend supported USB devices, like
> > > 3G modem, keyboard. The usb runtime suspend routine may be scheduled
> > > after the usb controller has been shut down, and the usb runtime suspend
> > > routine will try to suspend its roothub(controller), it will access
> > > register, then the system hang occurs as the controller is shutdown.
> > > Signed-off-by: Peter Chen <peter.chen@freescale.com>
> > 
> > Greg, do you want me to take this one?
> 
> Please do:
> 	Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

Done, thanks!

Rafael

  reply	other threads:[~2011-11-15 23:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14  0:43 [PATCH 1/1] driver core: disable device's runtime pm during shutdown Peter Chen
2011-11-14  9:54 ` Ming Lei
2011-11-14 22:28   ` Rafael J. Wysocki
2011-11-14 22:27 ` Rafael J. Wysocki
2011-11-15  0:59   ` Greg KH
2011-11-15 23:16     ` Rafael J. Wysocki [this message]
2011-12-04 21:56       ` NeilBrown
2011-12-05  2:42         ` Alan Stern
2011-12-05  3:37           ` NeilBrown
2011-12-05  3:26         ` Ming Lei
2011-12-05  4:42           ` Chen Peter-B29397
2011-12-05  5:12             ` Ming Lei
2011-12-05  9:01               ` Ming Lei
2011-12-05  9:05                 ` Ming Lei
2011-12-05 16:02                   ` Alan Stern
2011-12-05 18:35                     ` NeilBrown
2011-12-05 20:55                       ` Alan Stern
2011-12-05 22:32                         ` Rafael J. Wysocki
2011-12-06 15:26                           ` [PATCH] Driver core: leave runtime PM enabled during system shutdown Alan Stern
2011-12-06 21:34                             ` NeilBrown
2011-12-06 21:48                             ` Greg KH
2011-12-06 22:05                               ` Rafael J. Wysocki
2011-12-06 22:03                             ` Rafael J. Wysocki
2011-12-05  4:53           ` [PATCH 1/1] driver core: disable device's runtime pm during shutdown NeilBrown
2011-12-05  5:53             ` Chen Peter-B29397
2011-12-05  8:08               ` NeilBrown
2011-12-05  8:32                 ` Chen Peter-B29397
2011-12-05  8:52                   ` NeilBrown
2011-12-05  3:29         ` Chen Peter-B29397
2011-12-05  5:09           ` NeilBrown

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=201111160016.09174.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=greg@kroah.com \
    --cc=gregkh@suse.de \
    --cc=hzpeterchen@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=peter.chen@freescale.com \
    --cc=stern@rowland.harvard.edu \
    /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.