diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2022-10-13 11:58:49 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 21:33:33 +0100 |
commit | bd827bd775375fdef13da4c8d3f237555938aa6d (patch) | |
tree | ab9580f1baa34925f0640fecf5e18bdd5843df09 /arch/x86 | |
parent | KVM: selftests: Test that values written to Hyper-V MSRs are preserved (diff) | |
download | linux-bd827bd775375fdef13da4c8d3f237555938aa6d.tar.xz linux-bd827bd775375fdef13da4c8d3f237555938aa6d.zip |
KVM: selftests: Test Hyper-V invariant TSC control
Add a test for the newly introduced Hyper-V invariant TSC control feature:
- HV_X64_MSR_TSC_INVARIANT_CONTROL is not available without
HV_ACCESS_TSC_INVARIANT CPUID bit set and available with it.
- BIT(0) of HV_X64_MSR_TSC_INVARIANT_CONTROL controls the filtering of
architectural invariant TSC (CPUID.80000007H:EDX[8]) bit.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221013095849.705943-8-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions