From nobody@FreeBSD.org  Sun Feb 19 23:09:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 67D421065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 23:09:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 52E968FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 23:09:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1JN906m023932
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 23:09:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1JN8x2S023927;
	Sun, 19 Feb 2012 23:09:00 GMT
	(envelope-from nobody)
Message-Id: <201202192309.q1JN8x2S023927@red.freebsd.org>
Date: Sun, 19 Feb 2012 23:09:00 GMT
From: Stefan Krueger <stadtkind2@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: CPU freq changing not supported on VIA VE-900 (Nano X2 L4050)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165303
>Category:       kern
>Synopsis:       [est] CPU freq changing not supported on VIA VE-900 (Nano X2 L4050)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 19 23:10:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Feb 20 01:54:46 UTC 2012
>Originator:     Stefan Krueger
>Release:        FreeBSD 9.0-REL
>Organization:
>Environment:
>Description:
There's no dev.cpu.0.freq sysctl even though there's a dev.cpu.0.freq_levels sysctl, thus powerd does not work thus CPU freq changing is not supported on Via Nano X2 CPUs.

# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.P001
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq_levels: 1400/0 1200/0 1000/0 800/0
dev.cpu.0.cx_supported: C1/1
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% last 2430us
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.P002
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.cx_supported: C1/1
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% last 58451us

>How-To-Repeat:
Start powerd on a Via Nano x2 L4050 and notice no freq. changes are done despite:

# dmesg | grep est
est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1

and

# sysctl dev.cpu.0.freq_levels
dev.cpu.0.freq_levels: 1400/0 1200/0 1000/0 800/0
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
