Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c35ebbea authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

Revert "kvmclock: set scheduler clock stable"



This reverts commit ff7bbb9c.
Sasha Levin is seeing odd jump in time values during boot of a KVM guest:

[...]
[    0.000000] tsc: Detected 2260.998 MHz processor
[3376355.247558] Calibrating delay loop (skipped) preset value..
[...]

and bisected them to this commit.

Reported-by: default avatarSasha Levin <sasha.levin@oracle.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent edc90b7d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <linux/memblock.h>
#include <linux/sched.h>

#include <asm/x86_init.h>
#include <asm/reboot.h>
@@ -266,8 +265,6 @@ void __init kvmclock_init(void)

	if (kvm_para_has_feature(KVM_FEATURE_CLOCKSOURCE_STABLE_BIT))
		pvclock_set_flags(PVCLOCK_TSC_STABLE_BIT);

	set_sched_clock_stable();
}

int __init kvm_setup_vsyscall_timeinfo(void)