aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <aystarik@gmail.com>2007-11-26 14:42:19 -0500
committerIngo Molnar <mingo@elte.hu>2007-11-26 14:42:19 -0500
commitc1c306344669ca40255e36192b101060ffbb1271 (patch)
tree292c7936d91b8ed2febb3e2902de41d0e6c84bca /drivers/acpi/processor_idle.c
parentd4d25deca49ec2527a634557bf5a6cf449f85deb (diff)
ACPI: Set max_cstate to 1 for early Opterons.
AMD Opteron processors before CG revision don't like C-states > 1. This solves the long standing bugzilla #5303 and probably some more on affected machines: http://bugzilla.kernel.org/show_bug.cgi?id=5303 [ tglx@linutronix.de: reworked the patch so it does not wreck ia64 ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index f996d0e37689..b52109bd06d2 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1658,6 +1658,7 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
1658 1658
1659 if (!first_run) { 1659 if (!first_run) {
1660 dmi_check_system(processor_power_dmi_table); 1660 dmi_check_system(processor_power_dmi_table);
1661 max_cstate = acpi_processor_cstate_check(max_cstate);
1661 if (max_cstate < ACPI_C_STATES_MAX) 1662 if (max_cstate < ACPI_C_STATES_MAX)
1662 printk(KERN_NOTICE 1663 printk(KERN_NOTICE
1663 "ACPI: processor limited to max C-state %d\n", 1664 "ACPI: processor limited to max C-state %d\n",