Messages in this thread | | | Date | Mon, 20 Jul 2009 00:16:58 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 2/8] introduce the device async action mechanism |
| |
Hi!
> > During suspend-resume we know dependencies between > > devices beforehand, at least in theory, so we can use them. > > > that's why I use multiple async domains. :) > One domain for a device group. > > > In particular, we have to make sure that parent devices will not be suspended > > until all of their children have been suspended and children devices will not > > be resumed before the parents. > > that's not enough. > ???For examples, > ACPI battery and EC are independent devices, but EC must be resumed > before battery because battery driver may access some EC address space > during resume time.
Yes, but those dependencies should be pulled from driver tree, not adding separate dependencies infrastructure.
Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |