]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86, tsc: Skip TSC synchronization checks for tsc=reliable
authorSuresh Siddha <suresh.b.siddha@intel.com>
Fri, 4 Nov 2011 22:42:17 +0000 (15:42 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 12 Dec 2012 20:56:40 +0000 (12:56 -0800)
commit722f5da4ed19c8b2ce437d42d5ff65c1a5e62622
treec2c120bd6f19099217a3392dd017fb94b11a57e2
parentd18ee1ed459d39b0802bb6f6911ce6c367da571a
x86, tsc: Skip TSC synchronization checks for tsc=reliable

Orabug: 13256166
(mainline commit 28a00184be261e3dc152ba0d664a067bbe235b6a)
tsc=reliable boot parameter is supposed to skip all the TSC
stablility checks during boot time.

On a 8-socket system where we want to run an experiment with the
"tsc=reliable" boot option, TSC synchronization checks are not
getting skipped and marking the TSC as not stable.

Check for tsc_clocksource_reliable (which is set via
tsc=reliable or for platforms supporting synthetic TSC_RELIABLE
feature bit etc) and when set, skip the TSC synchronization
tests during boot.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
Tested-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1320446537.15071.14.camel@sbsiddha-desk.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
Conflicts:
arch/x86/include/asm/tsc.h
arch/x86/include/asm/tsc.h
arch/x86/kernel/tsc.c
arch/x86/kernel/tsc_sync.c