OSDN Git Service

x86/tsc: Mark Intel ATOM_GOLDMONT TSC reliable
authorBin Gao <bin.gao@linux.intel.com>
Tue, 15 Nov 2016 20:27:23 +0000 (12:27 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Nov 2016 09:58:30 +0000 (10:58 +0100)
commit4635fdc696a8e89eead3ea1712ae6ada38538d40
tree689e13ff294ee7206d6b02e05e2ee8e7e7f919c5
parent4ca4df0b7eb06df264b2919759957f6d6ea1822e
x86/tsc: Mark Intel ATOM_GOLDMONT TSC reliable

On Intel GOLDMONT Atom SoC TSC is the only available clocksource, so there
is no way to do software calibration or have a watchdog clocksource for it.
Software calibration is already disabled via the TSC_KNOWN_FREQ flag, but
the watchdog requirement still persists, so such systems cannot switch to
high resolution/nohz mode.

Mark it reliable, so it becomes usable. Hardware teams confirmed that this
is safe on that SoC.

Signed-off-by: Bin Gao <bin.gao@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1479241644-234277-4-git-send-email-bin.gao@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc.c