From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Krivoschekov Subject: Re: [linux-pm] Re: [RFC][PATCH -mm] PM: Introduce set_target method in pm_ops Date: Mon, 25 Jun 2007 17:57:47 +0400 Message-ID: <467FC9DB.3080704@gmail.com> References: <200706240203.12970.rjw@sisk.pl> <20070625130408.GA20203@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mu-out-0910.google.com ([209.85.134.189]:61182 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753412AbXFYN4m (ORCPT ); Mon, 25 Jun 2007 09:56:42 -0400 Received: by mu-out-0910.google.com with SMTP id i10so2119003mue for ; Mon, 25 Jun 2007 06:56:40 -0700 (PDT) In-Reply-To: <20070625130408.GA20203@atrey.karlin.mff.cuni.cz> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Pavel Machek Cc: "Rafael J. Wysocki" , Len Brown , linux acpi , pm list Pavel Machek wrote: >>> Right now the states we have are On, Standby, and Suspend, and the CPU >>> runs only in the On state. But on some platforms there could be >>> multiple states in which the CPU is able to run, albeit with degraded >>> performance. >> I wouldn't call those system sleep states. For example, ACPI defines system >> sleep states as the states in which no instructions are executed by any CPUs >> and I think that's reasonable. > > Well, in some cases, we have 200MHz CPU running at 30kHz. ...that's so > slow that it is pretty similar to ACPI sleep state. > Pavel, let's do not mix the things. Rafael gave exact meaning of a sleep state -- "no instructions are executed by any CPUs", that, I assume, can be interpreted as "processor does not do any effective job". It does not mean if any clock frequency supplied or not. In some cases the frequency supplied to speed up the wakeup process, but, the processor can't operate on this frequency, so this is a sleep state. But, if the processor can do some job, even if a frequency very very slow, then this is an active mode. Regards, Dmitry