Skip to content
Commit 5f92b45c authored by Ani Sinha's avatar Ani Sinha Committed by Wei Liu
Browse files

x86/hyperv: add comment describing TSC_INVARIANT_CONTROL MSR setting bit 0



Commit dce7cd62 ("x86/hyperv: Allow guests to enable InvariantTSC")
added the support for HV_X64_MSR_TSC_INVARIANT_CONTROL. Setting bit 0
of this synthetic MSR will allow hyper-v guests to report invariant TSC
CPU feature through CPUID. This comment adds this explanation to the code
and mentions where the Intel's generic platform init code reads this
feature bit from CPUID. The comment will help developers understand how
the two parts of the initialization (hyperV specific and non-hyperV
specific generic hw init) are related.

Signed-off-by: default avatarAni Sinha <ani@anisinha.ca>
Reviewed-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20210716133245.3272672-1-ani@anisinha.ca


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 6dc77fa5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment