From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 30 18:20:08 2005 Return-Path: X-Original-To: acpi@FreeBSD.org 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 0189516A50B; Tue, 30 Aug 2005 18:20:08 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAC14440DD; Tue, 30 Aug 2005 18:13:22 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.33] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j7UICWo5019064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 30 Aug 2005 11:12:32 -0700 Message-ID: <4314A18C.20701@root.org> Date: Tue, 30 Aug 2005 11:12:28 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hajimu UMEMOTO References: <20050830044536.C0AB416A4C6@hub.freebsd.org> <4313E5C5.5060005@root.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_cpu.c 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, 30 Aug 2005 18:20:08 -0000 Hajimu UMEMOTO wrote: >>>>>>On Mon, 29 Aug 2005 21:51:17 -0700 >>>>>>Nate Lawson said: > nate> If this commit gives you problems, please set debug.cpufreq.verbose=1 > nate> and send me the output along with sysctl dev.cpu. It should reduce the > nate> levels the same as Tijl's patch. I took a very slightly different > nate> implementation approach but the code is mostly his. Thanks! > > I applied the diff to latest RELENG_6. I believe it is equivalent to > HEAD's kern_cpu.c. > After applying the diff, the order of freq_level is apparently > strange: > > dev.cpu.0.freq_levels: 1200/5000 1050/4375 900/3750 750/3125 600/2500 450/1875 300/1250 150/625 1100/4700 962/4112 825/3525 687/2937 550/2350 412/1762 275/1175 137/587 1000/4300 875/3762 750/3225 625/2687 500/2150 375/1612 250/1075 125/537 900/4000 787/3500 675/3000 562/2500 450/2000 337/1500 225/1000 112/500 800/3700 700/3237 600/2775 500/2312 400/1850 300/1387 200/925 100/462 600/3000 525/2625 450/2250 375/1875 300/1500 225/1125 150/750 75/375 Yep, that's incorrect. I'll look at your debug output and commit a fix. -- Nate