Re: [PATCH v6 24/51] x86/kvm: Get CPU base frequency from CPUID when it's available
From: David Woodhouse
Date: Sat Aug 08 2026 - 11:07:23 EST
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@xxxxxxxxxx>
I still don't think I care about Sashiko's complaint.
Reviewed-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature