Messages in this thread | | | From | Frans Pop <> | Subject | Re: [PATCH] ACPI: do not mark TSC unstable for invalid C-states | Date | Mon, 11 May 2009 17:03:07 +0200 |
| |
On Monday 11 May 2009, Thomas Gleixner wrote: > commit a71e4917dc0ebbcb5a0ecb7ca3486643c1c9a6e2 (ACPI: idle: > mark_tsc_unstable() at init-time, not run-time) marks TSC unstable > even on non affected systems. > > The reason is that the state enumeration does not check the cx->valid > flag before calling tsc_halts_in_c(), so it marks TSC unstable for any > enumerated albeit invalid C state which is known to turn off TSC. > > Check cx->valid before checking whether the TSC might become unstable. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Frans Pop <elendil@planet.nl>
Thanks Thomas.
| |