Re: [linux-usb-devel] Re: OHCI problems with suspend/resume

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Jul 31 2003 - 11:07:45 EST


Hi!

> >>- APM uses the pm_*() calls for a vetoable check,
> >> never issues SAVE_STATE, then goes POWER_DOWN.
> >
> >
> >I remember the reason... SAVE_STATE expects user processes to be
> >stopped, which is not the case in APM. Perhaps that is easy to fix
> >these days...
>
> That SAVE_STATE restriction doesn't seem to be documented...

It is not; but I could not convince myself that it is okay to call
SAVE_STATE with userland alive, and that's why I did not add
SAVE_STATE to apm.
                                                        Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:50 EST