From owner-freebsd-current@FreeBSD.ORG Wed Feb 23 19:10:48 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A78616A4CE for ; Wed, 23 Feb 2005 19:10:48 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552C643D49 for ; Wed, 23 Feb 2005 19:10:48 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (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 j1NJAkZj031757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Feb 2005 11:10:47 -0800 Message-ID: <421CD52C.4070404@root.org> Date: Wed, 23 Feb 2005 11:10:36 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Konovalov References: <4213F066.2050708@root.org> <20050217131022.M57641@mp2.macomnet.net> In-Reply-To: <20050217131022.M57641@mp2.macomnet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: patch: p4tcc and speedstep cpufreq drivers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 19:10:48 -0000 Maxim Konovalov wrote: > Hi Nate, > > Sony PCG-505BX [1]. With your patch I've got several new freq_levels: > > dev.cpu.0.freq_levels: 1990/-1 1741/-1 1492/-1 1305/-1 1243/-1 1195/-1 > 1119/-1 1088/-1 1045/-1 995/-1 932/-1 896/-1 870/-1 776/-1 746/-1 > 652/-1 597/-1 559/-1 522/-1 497/-1 448/-1 373/-1 336/-1 298/-1 248/-1 > 217/-1 186/-1 149/-1 124/-1 93/-1 62/-1 37/-1 > > starting from 373 IIRC. > > When I try to change dev.cpu.0.freq several of these values produce > "invalid argument" e.g. 1305, 1119, 1088. The system is starting > working very slow at 448 and practically hang at 298. > > [1] http://maxim.int.ru/stuff/SONNIE.dmesg > http://maxim.int.ru/stuff/SONNIE.sysctl-a > You have an ASL bug. The status register was marked as being 1 bit wide. The smallest value we can work with is a byte. I've committed a fix. -- Nate