From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [patch update] Re: Run-time PM idea (was: Re: [RFC][PATCH 0/2] PM: Rearrange core suspend code) Date: Thu, 11 Jun 2009 17:06:16 +0200 Message-ID: <200906111706.16848.oliver__38571.6501427398$1244732786$gmane$org@neukum.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Alan Stern Cc: ACPI Devel Maling List , Linux-pm mailing list , LKML List-Id: linux-pm@vger.kernel.org Am Donnerstag, 11. Juni 2009 16:52:03 schrieb Alan Stern: > > Under this definition all devices behind an inactive link are suspended, > > because they can't do any I/O. =A0Which appears to makes sense, because > > their drivers have to be notified before the link is suspended and the > > link has to be turned on for the devices to be able to communicate with > > the CPU and RAM. > > > > If this definition is adopted, then it's quite clear that the device can > > only be suspended if all of its children are suspended and it's always > > necessary to resume the parent of a device in order to resume the device > > itself. > > Okay, I'll agree to that. =A0It should be made clear that a device which > is "suspended" according to this definition is not necessarily in a > low-power state. =A0For example, before powering down the link to a disk > drive you might want the drive's suspend method to flush the drive's > cache, but it wouldn't have to spin the drive down. This precludes handling busses that have low power states that are left automatically. If such links are stacked the management of acceptable latencies cannot be left to the busses. An actual example are the link states of USB 3.0 Regards Oliver