Re: PNP: do not stop/start devices in suspend/resume path

2007-12-13 Thread Pierre Ossman
On Thu, 6 Dec 2007 16:25:57 -0700 Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > PNP: do not stop/start devices in suspend/resume path > > Do not disable PNP devices in the suspend path. We still call > the driver's suspend method, which should prevent further use of > th

Re: PNP: do not stop/start devices in suspend/resume path

2007-12-12 Thread Bjorn Helgaas
On Wednesday 12 December 2007 01:16:10 am Andrew Morton wrote: > On Thu, 6 Dec 2007 16:25:57 -0700 Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > Andrew, can you add this before > > pnp-request-ioport-and-iomem-resources-used-by-active-devices.patch? > > > >

Re: PNP: do not stop/start devices in suspend/resume path

2007-12-12 Thread Andrew Morton
On Thu, 6 Dec 2007 16:25:57 -0700 Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > Andrew, can you add this before > pnp-request-ioport-and-iomem-resources-used-by-active-devices.patch? > > ... > > PNP: do not stop/start devices in suspend/resume path I did, but I also tempora

Re: RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-10 Thread Bjorn Helgaas
On Friday 07 December 2007 12:13:35 am Shaohua Li wrote: > On Thu, 2007-12-06 at 02:24 +0800, Bjorn Helgaas wrote: > > Index: linux-mm/drivers/pnp/driver.c > > === > > --- linux-mm.orig/drivers/pnp/driver.c 2007-11-30 13:58:25.000

Re: RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-06 Thread Shaohua Li
s safe to leave devices > enabled while we sleep. I don't see an actual problem, but there > might be something related to hotplug while we're asleep or something. > So I'll cc: some additional people who might have some insight. > > > > RFC: PNP: do not stop/

PNP: do not stop/start devices in suspend/resume path

2007-12-06 Thread Bjorn Helgaas
drew, can you add this before pnp-request-ioport-and-iomem-resources-used-by-active-devices.patch? Thanks, Bjorn PNP: do not stop/start devices in suspend/resume path Do not disable PNP devices in the suspend path. We still call the driver's suspend method, which should prevent further use

Re: RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-05 Thread Rafael J. Wysocki
afe to leave devices > enabled while we sleep. I don't see an actual problem, but there > might be something related to hotplug while we're asleep or something. > So I'll cc: some additional people who might have some insight. > > > > RFC: PNP: do not stop/sta

Re: RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-05 Thread Matthew Wilcox
On Wed, Dec 05, 2007 at 11:24:18AM -0700, Bjorn Helgaas wrote: > This means we will not disable the device and release its > resources. The driver suspend method typically does not release > its resources in the suspend path. For example, if we have: > > 03f8-03ff : 00:06 > 03f8-03ff : ser

RFC: PNP: do not stop/start devices in suspend/resume path

2007-12-05 Thread Bjorn Helgaas
thing related to hotplug while we're asleep or something. So I'll cc: some additional people who might have some insight. RFC: PNP: do not stop/start devices in suspend/resume path Do not disable PNP devices in the suspend path. We still call the driver's suspend method, which should