Skip to content

Commit a92ad11

Browse files
committed
Merge tag 'x86-timers-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 timer update from Ingo Molnar: "Set the X86_FEATURE_TSC_KNOWN_FREQ flag for Xen guests, to avoid recalibration" * tag 'x86-timers-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/xen/time: Set the X86_FEATURE_TSC_KNOWN_FREQ flag in xen_tsc_khz()
2 parents 5183a61 + 898ec52 commit a92ad11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/xen/time.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ static unsigned long xen_tsc_khz(void)
3939
struct pvclock_vcpu_time_info *info =
4040
&HYPERVISOR_shared_info->vcpu_info[0].time;
4141

42+
setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
4243
return pvclock_tsc_khz(info);
4344
}
4445

0 commit comments

Comments
 (0)