From: Bin Gao Date: Mon, 21 Oct 2013 16:16:33 +0000 (-0700) Subject: x86, tsc: Add static (MSR) TSC calibration on Intel Atom SoCs X-Git-Tag: v3.14-rc1~159^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da7c1561366ba8adb7275464ab44e84e1faa7e0;p=pandora-kernel.git x86, tsc: Add static (MSR) TSC calibration on Intel Atom SoCs On SoCs that have the calibration MSRs available, either there is no PIT, HPET or PMTIMER to calibrate against, or the PIT/HPET/PMTIMER is driven from the same clock as the TSC, so calibration is redundant and just slows down the boot. TSC rate is caculated by this formula: * The ratio and the resolved frequency ID can be obtained from MSR. See Intel 64 and IA-32 System Programming Guid section 16.12 and 30.11.5 for details. Signed-off-by: Bin Gao Signed-off-by: H. Peter Anvin Link: http://lkml.kernel.org/n/tip-rgm7xmg7k6qnjlw3ynkcjsmh@git.kernel.org --- Reading git-diff-tree failed