From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 15 16:34:19 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7F6C16A4CE; Tue, 15 Feb 2005 16:34:19 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A410443D2D; Tue, 15 Feb 2005 16:34:19 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j1FGYIZj029166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 Feb 2005 08:34:18 -0800 Message-ID: <42122489.4030705@root.org> Date: Tue, 15 Feb 2005 08:34:17 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jiawei Ye References: <20050213231306.376E05D07@ptavv.es.net> <420FE3C7.6020003@root.org> <20050214152319.bqxon1xk0g008s4k@netchild.homeip.net> <4210D155.6080706@root.org> <4211A8DD.4010406@root.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org cc: Alexander Leidinger cc: current@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 16:34:20 -0000 Jiawei Ye wrote: > On Mon, 14 Feb 2005 23:46:37 -0800, Nate Lawson wrote: > >>I just committed a patch that may fix this issue. >> >>-- >>Nate >> > > Does this look right to you? > > leafy@chihiro:~$ sysctl dev.cpu > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU1 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: 1818 > dev.cpu.0.freq_levels: 1818/-1 1590/-1 1363/-1 1136/-1 909/-1 681/-1 > 454/-1 227/-1 I don't know, what's your CPUs actual full speed clock rate? Your system only has throttling so the only way to get those levels is to estimate the full speed rate and derive the rest from it. I'm working to make the estimate more correct in the future, but the current code should be right +/- a few Mhz. -- Nate