From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 14 09:05:09 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8179A1065670 for ; Tue, 14 Sep 2010 09:05:09 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02D4E8FC0C for ; Tue, 14 Sep 2010 09:05:08 +0000 (UTC) Received: by bwz15 with SMTP id 15so39060bwz.13 for ; Tue, 14 Sep 2010 02:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=cBwG6T2eCpkWQIxP2W/BxoO6Qdva0w8565LFaoHHPt4=; b=EvW0yWDFZ5QOImfgZV05JDslFRN2lcBDuJSSgLLXvvNsvnQRIRkydDUOIkIu3llUli Y5H8+FtTYU1EAd/ripdHXrZPTCKPuyo/ElW6gA8C7SnjBbqIIiTudltLQplgfUn04sjH HDf428NQGtq0kS3EuG4Tb/fqGISo5Fyd8gW9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Tz1nrtAT1wh4kkav21WO7UG/52cbrgAVQW7JbZ1plnorwQegJLGMm1aNQlNflioODn wu18/xiQRv/Y3T8wv1asxmIxhEv60nWZlDruOvjX++pTE1pD9vlxqcTDTJopZqzXVgCz PTlge8eFmXXliYcgAE4GSP35wK+81O/05QcNY= Received: by 10.223.124.197 with SMTP id v5mr71495far.68.1284455107633; Tue, 14 Sep 2010 02:05:07 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id h12sm3289997faa.13.2010.09.14.02.05.05 (version=SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 02:05:06 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C8F3AAE.9030001@FreeBSD.org> Date: Tue, 14 Sep 2010 12:04:46 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Andriy Gapon References: <4C8BCAC5.5050008@root.org> <4C8C8B64.8020907@FreeBSD.org> <20100912182625.c49d3f1d.nork@FreeBSD.org> <4C8C9F06.4090505@icyb.net.ua> <20100912190537.621e357e.nork@FreeBSD.org> <20100912190952.8c0d5726.nork@FreeBSD.org> <20100912192518.e791c191.nork@FreeBSD.org> <4C8CAC01.70004@icyb.net.ua> <4C8CAD7D.50602@FreeBSD.org> <4C8CF03F.1050902@icyb.net.ua> <4C8CF412.9080601@icyb.net.ua> <4C8CF91A.4040804@FreeBSD.org> <4C8E5A5D.6000303@icyb.net.ua> <4C8F35FD.2090603@freebsd.org> <4C8F3905.5070403@freebsd.org> In-Reply-To: <4C8F3905.5070403@freebsd.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: CPU C-state storange on Panasonic TOUGH BOOK CF-R9 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 09:05:09 -0000 Andriy Gapon wrote: > on 14/09/2010 11:44 Andriy Gapon said the following: >> on 13/09/2010 20:07 Andriy Gapon said the following: >>> I am also going to take a look how Linux and OpenSolaris name the C-states. >> Well, Linux does what you suggested, it uses index of a C-state as its name. >> There is one difference from our current code - if a C-state is skipped for some >> reason, then its index is not re-used, but the entry is marked as non-valid. >> So, if we skip "C2" for some reason, then "C3" will become "C2". Not so on Linux. >> Also, they print a type/class of a C state using C1, C2, C3 and "--" for >> higher/unknown types. > > OpenSolaris, on the other hand, collapses multiple entries of the same type into > a single entry using the most power-saving alternative. I don't think it is perfect choice. In such case it would be useless for ACPI BIOS to report extra states. The only case when I think can be reasonable to drop some items is if they are equal except using different entry methods. For example, one OS may prefer to use port read, while another may use MWAIT to be able to wake up without using IPI. > They also use the type as a C state reported name, index is not used in interfacing. In their case it is possible. -- Alexander Motin