aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-26 17:28:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-26 17:28:55 -0400
commit476525004ac7e2f990b6956efcd44d0780c2ab4c (patch)
tree158cd2bbfb232b4f4327b6c20a4e14c6b095a438 /drivers/acpi/processor_idle.c
parentbd22dc17e49973d3d4925970260e9e37f7580a9f (diff)
parentec033d0a02901551346b9f43f8ff9bad51378891 (diff)
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
Pull ACPI & power management update from Len Brown: "Re-write of the turbostat tool. lower overhead was necessary for measuring very large system when they are very idle. IVB support in intel_idle It's what I run on my IVB, others should be able to also:-) ACPICA core update We have found some bugs due to divergence between Linux and the upstream ACPICA base. Most of these patches are to reduce that divergence to reduce the risk of future bugs. Some cpuidle updates, mostly for non-Intel More will be coming, as they depend on this part. Some thermal management changes needed by non-ACPI systems. Some _OST (OS Status Indication) updates for hot ACPI hot-plug." * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (51 commits) Thermal: Documentation update Thermal: Add Hysteresis attributes Thermal: Make Thermal trip points writeable ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check tools/power: turbostat: fix large c1% issue tools/power: turbostat v2 - re-write for efficiency ACPICA: Update to version 20120711 ACPICA: AcpiSrc: Fix some translation issues for Linux conversion ACPICA: Update header files copyrights to 2012 ACPICA: Add new ACPI table load/unload external interfaces ACPICA: Split file: tbxface.c -> tbxfload.c ACPICA: Add PCC address space to space ID decode function ACPICA: Fix some comment fields ACPICA: Table manager: deploy new firmware error/warning interfaces ACPICA: Add new interfaces for BIOS(firmware) errors and warnings ACPICA: Split exception code utilities to a new file, utexcep.c ACPI: acpi_pad: tune round_robin_time ACPICA: Update to version 20120620 ACPICA: Add support for implicit notify on multiple devices ACPICA: Update comments; no functional change ...
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index e589c1985248..ad3730b4038b 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -301,16 +301,16 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr)
301 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; 301 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5;
302 302
303 /* determine latencies from FADT */ 303 /* determine latencies from FADT */
304 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.C2latency; 304 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency;
305 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.C3latency; 305 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency;
306 306
307 /* 307 /*
308 * FADT specified C2 latency must be less than or equal to 308 * FADT specified C2 latency must be less than or equal to
309 * 100 microseconds. 309 * 100 microseconds.
310 */ 310 */
311 if (acpi_gbl_FADT.C2latency > ACPI_PROCESSOR_MAX_C2_LATENCY) { 311 if (acpi_gbl_FADT.c2_latency > ACPI_PROCESSOR_MAX_C2_LATENCY) {
312 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 312 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
313 "C2 latency too large [%d]\n", acpi_gbl_FADT.C2latency)); 313 "C2 latency too large [%d]\n", acpi_gbl_FADT.c2_latency));
314 /* invalidate C2 */ 314 /* invalidate C2 */
315 pr->power.states[ACPI_STATE_C2].address = 0; 315 pr->power.states[ACPI_STATE_C2].address = 0;
316 } 316 }
@@ -319,9 +319,9 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr)
319 * FADT supplied C3 latency must be less than or equal to 319 * FADT supplied C3 latency must be less than or equal to
320 * 1000 microseconds. 320 * 1000 microseconds.
321 */ 321 */
322 if (acpi_gbl_FADT.C3latency > ACPI_PROCESSOR_MAX_C3_LATENCY) { 322 if (acpi_gbl_FADT.c3_latency > ACPI_PROCESSOR_MAX_C3_LATENCY) {
323 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 323 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
324 "C3 latency too large [%d]\n", acpi_gbl_FADT.C3latency)); 324 "C3 latency too large [%d]\n", acpi_gbl_FADT.c3_latency));
325 /* invalidate C3 */ 325 /* invalidate C3 */
326 pr->power.states[ACPI_STATE_C3].address = 0; 326 pr->power.states[ACPI_STATE_C3].address = 0;
327 } 327 }