]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Idle C-states disabled by max_cstate should not disable the TSC
authorLen Brown <len.brown@intel.com>
Fri, 15 May 2009 05:29:31 +0000 (01:29 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 16 May 2009 05:52:39 +0000 (01:52 -0400)
commitb8af08be9e299a295fc92d756ec9ba2c13faf063
tree2cad50754a5af8ac5dd03fae5977bcf0ec88dd1c
parent02f562163069065fe3cbee430a6b5e53ecf6664b
ACPI: Idle C-states disabled by max_cstate should not disable the TSC

Processor idle power states C2 and C3 stop the TSC on many machines.
Linux recognizes this situation and marks the TSC as unstable:

Marking TSC unstable due to TSC halts in idle

But if those same machines are booted with "processor.max_cstate=1",
then there is no need to validate C2 and C3, and no need to
disable the TSC, which can be reliably used as a clocksource.

Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
drivers/acpi/processor_idle.c