Re: [PATCH 2/2] Fix console handling during suspend/resume

David Brownell
2006-06-23T16:43:35Z

On Thursday 22 June 2006 7:41 pm, Alan Stern wrote:
>
> > That applies only during system sleep state transitions.
>
> Well yes, of course. We were talking about system sleep, not runtime PM.
>
> > If you
> > try to invoke selective suspend (only part of the driver model tree
> > rather than the whole thing), all such ordering is ignored. And
> > for USB, selective suspend is a fundamental mechanism for reducing
> > systems' runtime power usage.
>
> Ben never suggested device creation or removal should be prevented during
> selective suspend, and you never mentioned encountering any deadlocks
> because of it. So why do you bring it up?

Because the PM framework needs to handle both problems, and the
models need to recognize that fact. We already have too many bugs
due to assumptions that are only correct in specific contexts.

Bringing up such issues is a precursor to getting them the right
kind of attention. Contrariwise, ignoring those issues worsens them.

- Dave