Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166Ab1FYVbb (ORCPT ); Sat, 25 Jun 2011 17:31:31 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:58107 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731Ab1FYVba (ORCPT ); Sat, 25 Jun 2011 17:31:30 -0400 From: "Rafael J. Wysocki" To: Linux PM mailing list Subject: [PATCH 0/10 v6] PM / Domains: Support for generic I/O PM domains Date: Sat, 25 Jun 2011 23:24:13 +0200 User-Agent: KMail/1.13.6 (Linux/3.0.0-rc4+; KDE/4.6.0; x86_64; ; ) Cc: "Greg Kroah-Hartman" , Magnus Damm , Paul Walmsley , Kevin Hilman , Alan Stern , LKML , linux-sh@vger.kernel.org, Paul Mundt References: <201106112223.04972.rjw@sisk.pl> In-Reply-To: <201106112223.04972.rjw@sisk.pl> MIME-Version: 1.0 Message-Id: <201106252324.13454.rjw@sisk.pl> Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2956 Lines: 68 Hi, Well, one more update. :-) This is the 6th version of the patchset adding support for generic I/O PM domains. The majority of patches have had some small fixes here and there to make things work when CONFIG_PM_RUNTIME is unset. In addition to that, to make the shmobile code introduced by the last patch work for CONFIG_PM_RUNTIME unset I had to add patches [8-9/10]. Patch [7/10] adds wakeup support that was missing from the previous version and I decided not to push patch [1/10] for 3.0 after all. On Saturday, June 11, 2011, Rafael J. Wysocki wrote: > > The model here is that a bunch of devices share a common power resource > that can be turned on and off by software. In addition to that, there > are means to start and stop the activity of each device, for example > by manipulating their clocks. Moreover, there may be hierarchy of > such things, for example power resource A may be necessary for devices > a, b, c, which don't rely on any other power resources, and for devices > x, y, z that also rely on power resource X. In that case there one PM > domain object representing devices a, b, c and power resource A, and > another PM domain object will represent devices x, y, z with power > resource X, plus the first object will be the second one's parent. > > Overall, I think I've taken all of the important dependencies into > consideration, but if you spot something suspicious, please let me know. :-) [ 1/10] - Rename struct dev_power_domain to struct dev_pm_domain to reflect the fact that those objects need not correspond to hardware power domains directly. [ 2/10] - Move subsys_data in struct dev_pm_info out of #ifdef CONFIG_PM_RUNTIME [ 3/10] - Introduce runtime PM support for generic I/O PM domains. [ 4/10] - Introduce generic "noirq" callbacks for system suspend/hibernation (that's necessary for the next patches). [ 5/10] - Move some PM domains support code fro under #ifdef CONFIG_PM_RUNTIME [ 6/10] - Add system-wide PM support for generic I/O PM domains. [ 7/10] - Add support for wakeup from system sleep to the I/O PM domains code. [ 8/10] - Allow PM clocks management code to be used during system suspend. [ 9/10] - Rename PM clock management functions so that they names reflect the fact that they can be used during system suspend too. [10/10] - Use the new code to represent the SH7372's A4MP power domain. All of these patches are regarded as 3.1 material and they are available from the git branch at: git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git pm-domains The patchset has been tested on SH7372 Mackerel board for both CONFIG_PM_RUNTIME set and unset. 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/