Thread (80 messages) 80 messages, 5 authors, 2026-09-10

Re: [PATCH v6 24/51] x86/kvm: Get CPU base frequency from CPUID when it's available

flat view

From: David Woodhouse <dwmw2@infradead.org>
Date: 2026-08-08 15:07:03
Also in: kvm, linux-coco, lkml, virtualization, xen-devel

On Thu, 2026-08-06 at 16:35 -0700, Sean Christopherson wrote:
If CPUID.0x16 is present and valid, use the CPU frequency provided by
CPUID instead of assuming that the virtual CPU runs at the same
frequency as TSC and/or kvmclock.  Back before constant TSCs were a
thing, treating the TSC and CPU frequencies as one and the same was
somewhat reasonable, but now it's nonsensical, especially if the
hypervisor explicitly enumerates the CPU frequency.

Signed-off-by: Sean Christopherson <seanjc@google.com>
I still don't think I care about Sashiko's complaint.

Reviewed-by: David Woodhouse <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help