diff options
author | Ani Sinha <[email protected]> | 2021-07-16 19:02:45 +0530 |
---|---|---|
committer | Wei Liu <[email protected]> | 2021-07-16 14:51:54 +0000 |
commit | 5f92b45c3b67e3d222caf10e2eb898af31756b67 (patch) | |
tree | 08866e267c0194be2644bc6c63d12a3721cb7eb3 /tools/perf/scripts/python/sctop.py | |
parent | 6dc77fa5ac2cf26f846a51492dbe42526e26d0f2 (diff) |
x86/hyperv: add comment describing TSC_INVARIANT_CONTROL MSR setting bit 0
Commit dce7cd62754b5 ("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: Ani Sinha <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions