[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111115005951.GB26360@kroah.com>
Date: Mon, 14 Nov 2011 16:59:51 -0800
From: Greg KH <greg@...ah.com>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Peter Chen <peter.chen@...escale.com>, gregkh@...e.de,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
stern@...land.harvard.edu, hzpeterchen@...il.com
Subject: Re: [PATCH 1/1] driver core: disable device's runtime pm during
shutdown
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@...escale.com>
>
> Greg, do you want me to take this one?
Please do:
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists