]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Do TSC MSR calibration only for known/supported CPUs
authorBin Meng <bmeng.cn@gmail.com>
Sun, 9 Nov 2014 14:19:13 +0000 (22:19 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:10 +0000 (07:24 +0100)
commit076bb44b0ef85747fec786a930335956614fb7d6
tree7e4ebc87db9949f234d2061c6f90adf0a8dec8be
parent52f952bf5ecebc1de01269557591bad4ac62a01a
x86: Do TSC MSR calibration only for known/supported CPUs

Using MSR_PLATFORM_INFO (0xCE) to calibrate TSR will cause #GP on
processors which do not have this MSR. Instead only doing the MSR
calibration for known/supported CPUs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/tsc_timer.c