Re: [PATCH] x86/acrn: Set X86_FEATURE_TSC_KNOWN_FREQ

From: Peter Zijlstra
Date: Tue Oct 25 2022 - 09:23:24 EST


On Tue, Oct 25, 2022 at 04:41:47PM +0800, Fei Li wrote:
> Avoiding recalibration by setting X86_FEATURE_TSC_KNOWN_FREQ.
> This patch also removes `inline` for acrn_get_tsc_khz() since
> it doesn't make sense.

Can we have a few words on how this is supposed to work at all?

Supposedly the HV is providing host rate through this ACRN CPUID leaf?
How does it deal with systems where TSC isn't known stable?