summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorBin Gao <bin.gao@intel.com>2013-10-21 09:16:33 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-15 22:28:48 -0800
commit7da7c1561366ba8adb7275464ab44e84e1faa7e0 (patch)
treefbe28621d7961051588dc86f86a90dfe4ecd906f /ipc
parent46184415368a6095d5da33991c5e011f1084353d (diff)
downloadop-kernel-dev-7da7c1561366ba8adb7275464ab44e84e1faa7e0.zip
op-kernel-dev-7da7c1561366ba8adb7275464ab44e84e1faa7e0.tar.gz
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: <maximum core-clock to bus-clock ratio> * <maximum resolved frequency> 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 <bin.gao@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/n/tip-rgm7xmg7k6qnjlw3ynkcjsmh@git.kernel.org
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud