Re: [PATCH v5 13/14] x86/tsc: Mark Secure TSC as reliable clocksource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 06, 2023 at 05:23:44PM +0530, Nikunj A. Dadhania wrote:
> > Maybe kvmclock rating has to be even lower after detecting sane TSC?
> 
> If I set kvmclock rating to 298, I do see exact behavior as you have seen on the bare-metal.
> 
> [    0.004520] clocksource: clocksource_enqueue: name kvm-clock rating 298
> [...]
> [    1.827422] clocksource: clocksource_enqueue: name tsc-early rating 299
> [...]
> [    3.485059] clocksource: Switched to clocksource tsc-early
> [...]
> [    3.623625] clocksource: clocksource_enqueue: name tsc rating 300
> [    3.628954] clocksource: Switched to clocksource tsc

This looks more reasonable to me. But I don't really understand
timekeeping. It would be nice to hear from someone who knows what he
saying.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux