x86: Make tsc=reliable override boot time stability checks
authorjohn stultz <johnstul@us.ibm.com>
Mon, 17 Aug 2009 23:40:47 +0000 (16:40 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 28 Aug 2009 19:13:05 +0000 (21:13 +0200)
commitd3b8f889a220aed825accc28eb64ce283a0d51ac
tree6d66dbb21c7b0c53813231a68a5b841394783aed
parent326ba5010a5429a5a528b268b36a5900d4ab0eba
x86: Make tsc=reliable override boot time stability checks

This patch makes the tsc=reliable option disable the boot time
stability checks. Currently the option only disables the runtime
watchdog checks. This change allows folks who want to override the
boot time TSC stability checks and use the TSC when the system would
otherwise disqualify it.

There still are some situations that the TSC will be disqualified,
such as cpufreq scaling. But these are situations where the box will
hang if allowed.

Patch also includes a fix for an issue found by Thomas Gleixner, where
the TSC disqualification message wouldn't be printed after a call to
unsynchronized_tsc().

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: akataria@vmware.com
Cc: Stephen Hemminger <shemminger@vyatta.com>
LKML-Reference: <1250552447.7212.92.camel@localhost.localdomain>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/kernel-parameters.txt
arch/x86/kernel/tsc.c