ACPI: Set max_cstate to 1 for early Opterons.
authorAlexey Starikovskiy <aystarik@gmail.com>
Mon, 26 Nov 2007 19:42:19 +0000 (20:42 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Nov 2007 19:42:19 +0000 (20:42 +0100)
commitc1c306344669ca40255e36192b101060ffbb1271
tree292c7936d91b8ed2febb3e2902de41d0e6c84bca
parentd4d25deca49ec2527a634557bf5a6cf449f85deb
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>
drivers/acpi/processor_idle.c
include/asm-ia64/acpi.h
include/asm-x86/acpi.h