aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/tsc.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2016-06-17 01:22:52 -0400
committerIngo Molnar <mingo@kernel.org>2016-07-11 21:30:13 +0200
commitff4c86635ee12461fd3bd911d7d5253394da8f9d (patch)
tree46d410019a232f2b0ecc89375d68abcfc27f565e /arch/x86/include/asm/tsc.h
parentx86/tsc: Enumerate SKL cpu_khz and tsc_khz via CPUID (diff)
downloadlinux-dev-ff4c86635ee12461fd3bd911d7d5253394da8f9d.tar.xz
linux-dev-ff4c86635ee12461fd3bd911d7d5253394da8f9d.zip
x86/tsc: Enumerate BXT tsc_khz via CPUID
Hard code the BXT crystal clock (aka ART - Always Running Timer) to 19.200 MHz, and use CPUID leaf 0x15 to determine the BXT TSC frequency. Use tsc_khz to sanity check BXT cpu_khz, which can be erroneous in some configurations. (I simplified the original patch from Bin Gao.) Original-From: Bin Gao <bin.gao@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/bf4e7c175acd6d09719c47c319b10ff1f0627ff8.1466138954.git.len.brown@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/tsc.h')
0 files changed, 0 insertions, 0 deletions