Re: [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Alexey Makhalov wrote: > [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Please don't do that. RESEND is a keyword, when the same patch (series) is sent again without any modification vs. the first patch (series). A possible reason to do so i

[RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Alexey Makhalov
After aa297292d708, there are separate native calibrations for cpu_khz and tsc_khz. The code sets x86_platform.calibrate_cpu to native_calibrate_cpu() which looks in cpuid leaf 0x16 or msrs for the cpu frequency. Since we keep the tsc_khz constant (even after vmotion), the cpu_khz and tsc_khz may s

[PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-25 Thread Alexey Makhalov
After aa297292d708, there are separate native calibrations for cpu_khz and tsc_khz. The code sets x86_platform.calibrate_cpu to native_calibrate_cpu() which looks in cpuid leaf 0x16 or msrs for the cpu frequency. Since we keep the tsc_khz constant (even after vmotion), the cpu_khz and tsc_khz may s