Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cf113729 authored by Alexey Makhalov's avatar Alexey Makhalov Committed by Thomas Gleixner
Browse files

x86/vmware: Read tsc_khz only once at boot time



Re-factor the vmware platform setup code to query the hypervisor for tsc
frequency only once during boot. Since the VMware hypervisor guarantees
constant TSC, calibrate_tsc now uses the saved value.

Signed-off-by: default avatarAlexey Makhalov <amakhalov@vmware.com>
Acked-by: default avatarAlok N Kataria <akataria@vmware.com>
Cc: virtualization@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/20161020050211.GA25304@amakhalov-virtual-machine


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1a1891d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment