From owner-freebsd-current@FreeBSD.ORG Sat Sep 11 18:48:10 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A751106566C; Sat, 11 Sep 2010 18:48:10 +0000 (UTC) (envelope-from nate@root.org) Received: from mail.root.org (root.org [208.72.84.34]) by mx1.freebsd.org (Postfix) with ESMTP id 318758FC1A; Sat, 11 Sep 2010 18:48:09 +0000 (UTC) Received: from [10.0.5.50] (ppp-71-139-38-142.dsl.snfc21.pacbell.net [71.139.38.142]) by mail.root.org (Postfix) with ESMTP id BC53B5251; Sat, 11 Sep 2010 18:30:37 +0000 (UTC) Message-ID: <4C8BCAC5.5050008@root.org> Date: Sat, 11 Sep 2010 11:30:29 -0700 From: Nate Lawson User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Norikatsu Shigemura References: <20100912014855.984a89ed.nork@FreeBSD.org> In-Reply-To: <20100912014855.984a89ed.nork@FreeBSD.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: CPU C-state storange on Panasonic TOUGH BOOK CF-R9 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 11 Sep 2010 18:48:10 -0000 Norikatsu Shigemura wrote: > Hi ACPI specialists! > > I noticed that CPU cooling doesn't work with testing mav@'s > timers_oneshot*.patch, so I got following results: > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > $ sysctl -a | grep cx > hw.acpi.cpu.cx_lowest: C1 > dev.cpu.0.cx_supported: C1/3 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% last 24us > dev.cpu.1.cx_supported: C1/3 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% last 485us > dev.cpu.2.cx_supported: C1/3 > dev.cpu.2.cx_lowest: C1 > dev.cpu.2.cx_usage: 100.00% last 155us > dev.cpu.3.cx_supported: C1/3 > dev.cpu.3.cx_lowest: C1 > dev.cpu.3.cx_usage: 100.00% last 590us I think the problem is here. > cpu0: on acpi0 > PROCESSOR-0311 [230584] cpu_attach : acpi_cpu0: P_BLK at 0x410/6 > ACPI: SSDT 0xda9adc18 002AA (v01 PmRef Cpu0Ist 00003000 INTL 20061109) > ACPI: Dynamic OEM Table Load: > ACPI: SSDT 0 002AA (v01 PmRef Cpu0Ist 00003000 INTL 20061109) > ACPI: SSDT 0xda9ab618 005CD (v01 PmRef Cpu0Cst 00003001 INTL 20061109) > ACPI: Dynamic OEM Table Load: > ACPI: SSDT 0 005CD (v01 PmRef Cpu0Cst 00003001 INTL 20061109) > PROCESSOR-0696 [241753] cpu_cx_cst : acpi_cpu0: C2[1] not available. > PROCESSOR-0730 [241753] cpu_cx_cst : acpi_cpu0: Got C3 - 245 latency > cpu1: on acpi0 > PROCESSOR-0311 [241991] cpu_attach : acpi_cpu1: P_BLK at 0x410/6 > ACPI: SSDT 0xda9aca98 00303 (v01 PmRef ApIst 00003000 INTL 20061109) > ACPI: Dynamic OEM Table Load: > ACPI: SSDT 0 00303 (v01 PmRef ApIst 00003000 INTL 20061109) > ACPI: SSDT 0xda9aad98 00119 (v01 PmRef ApCst 00003000 INTL 20061109) > ACPI: Dynamic OEM Table Load: > ACPI: SSDT 0 00119 (v01 PmRef ApCst 00003000 INTL 20061109) > PROCESSOR-0696 [254000] cpu_cx_cst : acpi_cpu1: C2[1] not available. > PROCESSOR-0730 [254000] cpu_cx_cst : acpi_cpu1: Got C3 - 245 latency > cpu2: on acpi0 > PROCESSOR-0311 [254238] cpu_attach : acpi_cpu2: P_BLK at 0x410/6 > PROCESSOR-0696 [255657] cpu_cx_cst : acpi_cpu2: C2[1] not available. > PROCESSOR-0730 [255657] cpu_cx_cst : acpi_cpu2: Got C3 - 245 latency > cpu3: on acpi0 > PROCESSOR-0311 [255895] cpu_attach : acpi_cpu3: P_BLK at 0x410/6 > PROCESSOR-0696 [257314] cpu_cx_cst : acpi_cpu3: C2[1] not available. > PROCESSOR-0730 [257314] cpu_cx_cst : acpi_cpu3: Got C3 - 245 latency I think the issue is that C2 is not available for some reason and thus C3 can't be used either. The way to tell is to use acpidump and look for the CPU objects' _CST fields. -- Nate