Skip to content
Commit 9f242dc1 authored by Alok Kataria's avatar Alok Kataria Committed by H. Peter Anvin
Browse files

x86, vmware: Preset lpj values when on VMware.



When running on VMware's platform, we have seen situations where
the AP's try to calibrate the lpj values and fail to get good calibration
runs becasue of timing issues. As a result delays don't work correctly
on all cpus.

The solutions is to set preset_lpj value based on the current tsc frequency
value. This is similar to what KVM does as well.

Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
LKML-Reference: <1280790637.14933.29.camel@ank32.eng.vmware.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 9fe6206f
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