git: acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Nov 7 10:25:35 PST 2011
commit 4e291b37cc42836f0bbcedb67aaf25b6c94bab7a
Author: Sascha Wildner <saw at online.de>
Date: Mon Nov 7 19:23:35 2011 +0100
acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST
ACPI specification states that if P_LVL2_LAT >100, then a system
doesn't support C2; if P_LVL3_LAT >1000, then C3 is not supported.
But there are no such rules for Cx state data returned by _CST. If a
state is not supported it should not be included into the return
package. In other words, any latency value returned by _CST is valid,
it's up to the OS and/or user to decide whether to use it.
Submitted-by: Johannes Hofmann <Johannes.Hofmann at gmx.de>
Taken-from: FreeBSD (rev 212549)
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2157>
Summary of changes:
sys/dev/acpica5/acpi_cpu_cstate.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e291b37cc42836f0bbcedb67aaf25b6c94bab7a
--
DragonFly BSD source repository
More information about the Commits
mailing list