DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: acpi_cpu: do not apply P_LVLx_LAT rules to latencies returned by _CST


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Nov 2011 10:24:17 -0800 (PST)

commit 4e291b37cc42836f0bbcedb67aaf25b6c94bab7a
Author: Sascha Wildner <saw@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]