From owner-cvs-all@FreeBSD.ORG Thu Mar 18 14:28:40 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B94116A4CE for ; Thu, 18 Mar 2004 14:28:40 -0800 (PST) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BDA443D39 for ; Thu, 18 Mar 2004 14:28:40 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 9695 invoked from network); 18 Mar 2004 22:28:39 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 18 Mar 2004 22:28:39 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2IMSP28079031; Thu, 18 Mar 2004 17:28:26 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Nate Lawson Date: Thu, 18 Mar 2004 15:02:36 -0500 User-Agent: KMail/1.6 References: <200403172149.i2HLnl2V027784@repoman.freebsd.org> <200403171704.22042.jhb@FreeBSD.org> <20040317184508.B4725@root.org> In-Reply-To: <20040317184508.B4725@root.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403181502.36093.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_cpu.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 22:28:40 -0000 On Wednesday 17 March 2004 09:50 pm, Nate Lawson wrote: > On Wed, 17 Mar 2004, John Baldwin wrote: > > On Wednesday 17 March 2004 04:49 pm, Nate Lawson wrote: > > > njl 2004/03/17 13:49:47 PST > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/dev/acpica acpi_cpu.c > > > Log: > > > Fix border error to allow systems that specify 100 for latency also > > > use C2 and 1000 to use C3. > > > > > > Submitted by: Bruno Ducrot > > > Tested by: Scott Lambert > > > > Hmm, the BIOS on my laptop uses those values when the C states are > > disabled (according to the BIOS text). That is, my BIOS lets me turn C2 > > and C3 on and off. When turned on, it uses the values 1 and 85 for the > > latency, and when off it uses 100 and 1000. Note that the kernel never > > uses C3 on this machine by the way with these latencies: > > > > hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85 > > That's incorrect behavior. See Table 5-8 of the ACPI 2.0 spec (at or near > page 102). Have you actually done an acpidump -t both with and without C2 > disabled in your BIOS to see what it does? Perhaps the manual is wrong > and it does the right thing. In any case, your failure mode (not being > able to disable Cx states in BIOS) is not as bad as others (not being able > to use C2 when it's supported.) You can always keep using the sysctl to > disable C2 and/or C3. What about the second problem I reported that the kernel doesn't ever use C3 on this machine? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org