]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/vmware: Avoid TSC recalibration when frequency is known
authorAlexey Makhalov <amakhalov@vmware.com>
Tue, 5 Jan 2021 00:47:52 +0000 (16:47 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 28 Mar 2021 19:11:43 +0000 (21:11 +0200)
commit0b4a285e2c65c2c9449c6eccb87298e385213e7b
tree93ab4f5be23536db332a8dab89fced14e905740e
parent0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b
x86/vmware: Avoid TSC recalibration when frequency is known

When the TSC frequency is known because it is retrieved from the
hypervisor, skip TSC refined calibration by setting X86_FEATURE_TSC_KNOWN_FREQ.

Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210105004752.131069-1-amakhalov@vmware.com
arch/x86/kernel/cpu/vmware.c