Re: pcmcia resume 60 second hang. Re: [patch 00/69] -stable review

From: Matthew Garrett
Date: Mon May 28 2007 - 08:33:02 EST


On Mon, May 28, 2007 at 10:11:15AM +0200, Rafael J. Wysocki wrote:
> On Monday, 28 May 2007 03:05, Matthew Garrett wrote:
> > This /mostly/ works - I've had my test machine cycling through a suspend
> > cycle every 10 seconds for the past hour without any difficulties
> > providing I unload USB first. If USB is loaded, the suspend occasionally
> > fails with one of the devices returning -EBUSY and causing it to be
> > aborted. I haven't looked into this in any detail yet, but it's
> > presumably sufficiently generic code that it's potentially biting people
> > on PPC anyway.
>
> Most probably.
>
> Still, please take what I said in the other thread into consideration: We've
> been using the freezer for so long that at least some drivers started to rely
> on it being used.
>
> Even if there are no such drivers on your system, they can be used by other
> systems.

Sure, but if any of these drivers run on PPC then they're broken anyway.
The assumption that processes will be frozen during suspend is true in
the specific case of ACPI and some of the ARM platforms, but not true on
PPC or APM systems. We either need to fix the drivers to stop assuming
this or add the process freezer to the other PM systems. Right now,
they're buggy.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/