Skip to content
Commit b91688f5 authored by Renat Valiullin's avatar Renat Valiullin Committed by Thomas Gleixner
Browse files

x86/vmware: Skip lapic calibration on VMware



In a virtualized environment the APIC timer calibration can go wrong when
the host is overcommitted or the guest is running nested. This results
in the APIC timers operating at an incorrect frequency.

Since VMware supports a mechanism to retrieve the local APIC frequency we
can ask the hypervisor for it and skip the APIC calibration loop.

Signed-off-by: default avatarRenat Valiullin <rvaliullin@vmware.com>
Acked-by: default avatarAlok N Kataria <akataria@vmware.com>
Cc: virtualization@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/20161004201148.GA1421@uu64vm


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