• L
    ACPI: enable C2 and Turbo-mode on Nehalem notebooks on A/C · 5d76b6f6
    Len Brown 提交于
    Linux has always ignored ACPI BIOS C2 with exit latency > 100 usec,
    and the ACPI spec is clear that is correct FADT-supplied C2.
    
    However, the ACPI spec explicitly states that _CST-supplied C-states
    have no latency limits.
    
    So move the 100usec C2 test out of the code shared
    by FADT and _CST code-paths, and into the FADT-specific path.
    
    This bug has not been visible until Nehalem, which advertises
    a CPU-C2 worst case exit latency on servers of 205usec.
    That (incorrect) figure is being used by BIOS writers
    on mobile Nehalem systems for the AC configuration.
    Thus, Linux ignores C2 leaving just C1, which is
    saves less power, and also impacts performance
    by preventing the use of turbo mode.
    
    http://bugzilla.kernel.org/show_bug.cgi?id=15064Tested-by: NAlex Chiang <achiang@hp.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    5d76b6f6
processor_idle.c 31.1 KB