Re: [PATCH v6 24/51] x86/kvm: Get CPU base frequency from CPUID when it's available
David Woodhouse <[email protected]>
| Newsgroups | gmane.linux.kernel.virtualization,gmane.comp.emulators.kvm.devel,gmane.linux.kernel,gmane.comp.emulators.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