Re: [PATCH v6 24/51] x86/kvm: Get CPU base frequency from CPUID when it's available
David Woodhouse <[email protected]> Sat, 08 Aug 2026 16:06:56 +0100
| Newsgroups | org.kernel.vger.linux-hyperv,dev.linux.lists.linux-coco,dev.linux.lists.virtualization,org.kernel.vger.kvm,org.kernel.vger.linux-kernel,org.xenproject.lists.xen-devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> I still don't think I care about Sashiko's complaint. Reviewed-by: David Woodhouse <[email protected]>
smime.p7s
(application/pkcs7-signature, 6 KB) - not displayed