LWN.net Logo

PM / Domains: Generic PM domains improvements

From:  "Rafael J. Wysocki" <rjw@sisk.pl>
To:  Linux PM mailing list <linux-pm@lists.linux-foundation.org>
Subject:  [PATCH 0/5 v1] PM / Domains: Generic PM domains improvements
Date:  Wed, 6 Jul 2011 22:48:35 +0200
Message-ID:  <201107062248.35586.rjw@sisk.pl>
Cc:  LKML <linux-kernel@vger.kernel.org>, Kevin Hilman <khilman@ti.com>, Alan Stern <stern@rowland.harvard.edu>, MyungJoo Ham <myungjoo.ham@samsung.com>, Chanwoo Choi <cw00.choi@samsung.com>, Paul Walmsley <paul@pwsan.com>, Greg KH <gregkh@suse.de>, Magnus Damm <magnus.damm@gmail.com>
Archive-link:  Article, Thread

Hi,

For the last few days I've been working on modifications of the generic
PM domains code allowing .start_device()/.stop_device() and drivers'
.runtime_suspend()/.runtime_resume() callbacks to execute things like
pm_runtime_resume() for other devices in the same PM domain safely
without deadlocking (the original motivation was a console driver on
shmobile that pm_runtime_get_*()/pm_runtime_put_*() are called for from
the other devices' .runtime_suspend()/.runtime_resume() callbacks).

I think I solved that problem, but in the process I found a few places
where fixes and/on improvements were necessary.  The patches in this
series address those issues.  They are on top of the branch at:

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git pm-domains

Patches [1-2/5] are regarded as 3.1 material, the others not necessarily,
but I'd like to push them for 3.1 too if there are no complaints.

Thanks,
Rafael

--
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/

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds