From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 21 22:18:52 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 2AE3C16A4CE for ; Mon, 21 Feb 2005 22:18:52 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3E7843D1D for ; Mon, 21 Feb 2005 22:18:51 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.115] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189])j1LMIWh2032480; Mon, 21 Feb 2005 17:18:33 -0500 Message-ID: <421A5E05.3040508@root.org> Date: Mon, 21 Feb 2005 14:17:41 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Worach References: <4213F066.2050708@root.org> <4214119B.2010909@telia.com> In-Reply-To: <4214119B.2010909@telia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: patch: p4tcc and speedstep cpufreq drivers 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: Mon, 21 Feb 2005 22:18:52 -0000 Pawel Worach wrote: > Nate Lawson wrote: > >> Attached is a patch that I'd like to get tested. After applying it, >> rebuild and load the cpufreq.ko module. Be sure you do _not_ have >> "options CPU_ENABLE_TCC" in your kernel config or the new driver will >> conflict with the old. > > This is what I get on a TP T41, do the cpufreq results below look right? > Also if I loaded both modules all I got for dev.cpu.0.freq was -1 or > 1700 and no levels. > > CPU: Intel(R) Pentium(R) M processor 1700MHz (1698.56-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x695 Stepping = 5 > Features=0xa7e9f9bf > > > Only acpi_perf loaded at boot: > +acpi_perf0: on cpu0 > +acpi_throttle0: on cpu0 > > # sysctl dev.cpu|grep freq > dev.cpu.0.freq: 1700 > dev.cpu.0.freq_levels: 1700/24500 1487/21437 1400/19500 1275/18375 > 1225/17062 1200/16000 1062/15312 1000/13000 900/12000 875/12187 > 850/12250 800/9500 750/10000 > 700/9750 637/9187 600/6000 525/7312 500/6500 450/6000 425/6125 400/4750 > 375/4875 350/4875 300/4000 250/3250 212/3062 175/2437 150/2000 125/1625 > 100/1187 75/750 > > Only cpufreq loaded at boot: > +est0: on cpu0 > +p4tcc0: on cpu0 > +ichss: enabling SpeedStep support > +ichss0: on cpu0 > > # sysctl dev.cpu|grep freq > dev.cpu.0.freq: 1699 Try it now. I committed a patch to prevent ichss from attaching when est is present. I think some systems had an older ICH chipset with a newer Pentium M CPU since you shouldn't be getting ichss on a newer system like yours. -- Nate