From owner-freebsd-current@FreeBSD.ORG Wed Feb 2 20:38:31 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 D84B816A4CE; Wed, 2 Feb 2005 20:38:31 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6405043D58; Wed, 2 Feb 2005 20:38:31 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1CwRGB-0003Km-00; Wed, 02 Feb 2005 21:37:59 +0100 Date: Wed, 2 Feb 2005 21:37:58 +0100 To: Nate Lawson Message-ID: <20050202203758.GY1145@poupinou.org> References: <41FFB53B.3020907@root.org> <42012739.9080501@freebsd.org> <42013223.4080704@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42013223.4080704@root.org> User-Agent: Mutt/1.5.6+20040907i From: Bruno Ducrot cc: acpi@freebsd.org cc: current@freebsd.org cc: Colin Percival Subject: Re: New cpufreq framework and 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, 02 Feb 2005 20:38:32 -0000 On Wed, Feb 02, 2005 at 12:03:47PM -0800, Nate Lawson wrote: > Colin Percival wrote: > >Nate Lawson wrote: > > > >>Hardware drivers are of two types, absolute > >>and relative. SpeedStep, Powernow, etc. are absolute drivers in that > >>they set the cpu's base frequency. ACPI throttling, Longrun, etc. are > >>relative drivers that reduce the processor's clock to a fraction of > >>its current base (i.e., they have an additive effect.) > > > > > >If my first glance at the patch is correct, this would have my laptop (a > >1.4GHz > >Pentium M) reporting the availability of the frequencies 600MHz, 800MHz, > >etc. > >from enhanced speedstep, along with the frequencies 300MHz, 400MHz, > >500MHz, and > >700MHz obtained via 50% clock throttling. > > That is correct. The code to support relative drivers was removed > before posting to give the basic framework more testing before I commit > it shortly. The relative support will go in soon after that code is > committed. > But longrun is relative though and can scale voltage. (And the point that longrun can control frequency itself is imho irrelevant). -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.