]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: skip checking BM_STS if the BIOS doesn't ask for it
authorLen Brown <len.brown@intel.com>
Thu, 22 Jul 2010 20:54:27 +0000 (16:54 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 22 Jul 2010 20:54:27 +0000 (16:54 -0400)
commit6d7634f140eb2b64699b5e074b78da1cb7f5848e
treefeaf57a034684a6742198a5cf10e8e05ed1cb10f
parent8e92d4dc774b2b70745444c859ac6773a202f504
ACPI: skip checking BM_STS if the BIOS doesn't ask for it

It turns out that there is a bit in the _CST for Intel FFH C3
that tells the OS if we should be checking BM_STS or not.

Linux has been unconditionally checking BM_STS.
If the chip-set is configured to enable BM_STS,
it can retard or completely prevent entry into
deep C-states -- as illustrated by turbostat:

http://userweb.kernel.org/~lenb/acpi/utils/pmtools/turbostat/

ref: Intel Processor Vendor-Specific ACPI Interface Specification
table 4 "_CST FFH GAS Field Encoding"
Bit 1: Set to 1 if OSPM should use Bus Master avoidance for this C-state

https://bugzilla.kernel.org/show_bug.cgi?id=15886

Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/acpi/cstate.c
drivers/acpi/processor_idle.c
include/acpi/processor.h