x86: Print the hypervisor returned tsc_khz during boot
commit6399c087458859cddff2d6b46befb95b866df3e0
authorAlok Kataria <akataria@vmware.com>
Fri, 4 Sep 2009 20:13:39 +0000 (4 13:13 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Sep 2009 18:25:36 +0000 (20 20:25 +0200)
tree15290084df15c7999adf4e3ecbae067ab280d0fb
parentbfefb7a0c6e08736f2d5917c468467f134bf28bb
x86: Print the hypervisor returned tsc_khz during boot

On an AMD-64 system the processor frequency that is printed during
system boot, may be different than the tsc frequency that was
returned by the hypervisor, due to the value returned from
calibrate_cpu.

For debugging timekeeping or other related issues it might be
better to get the tsc_khz value returned by the hypervisor.

The patch below now prints the tsc frequency that the VMware
hypervisor returned.

Signed-off-by: Alok N Kataria <akataria@vmware.com>
LKML-Reference: <1252095219.12518.13.camel@ank32.eng.vmware.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/vmware.c