Skip to content

KVM: x86: Update HWCR virtualization

Jim Mattson kvm 4 versions – Applied

Status from this message: Applied to kvm-x86 misc, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesApplied
  2. v33 patches 4 repliesSuperseded
  3. v23 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches7 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: x86: Allow HWCR.McStatusWrEn to be cleared once setarch/x86/kvm/x86.c+2 -30 replies
2/3KVM: x86: Virtualize HWCR.TscFreqSel[bit 24]arch/x86/kvm/x86.c+6 -20 replies
3/3KVM: selftests: Test behavior of HWCRtools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/x86_64/hwcr_msr_test.c+53 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] KVM: x86: Update HWCR virtualization

Allow HWCR.McStatusWrEn to be cleared once set, and allow HWCR.TscFreqSel to be set as well.

v1 -> v2: KVM no longer sets HWCR.TscFreqSel
HWCR.TscFreqSel can be cleared from userspace Selftest modified accordingly
v2 -> v3: kvm_set_msr_common() changes simplified v3 -> v4: kvm_set_msr_common() changes further simplified
HWCR.TscFreqSel can be modified from the guest Targets reordered in selftest Makefile

Jim Mattson (3):
KVM: x86: Allow HWCR.McStatusWrEn to be cleared once set
KVM: x86: Virtualize HWCR.TscFreqSel[bit 24]
KVM: selftests: Test behavior of HWCR

 arch/x86/kvm/x86.c                            | 11 ++--
 tools/testing/selftests/kvm/Makefile          |  1 +
 .../selftests/kvm/x86_64/hwcr_msr_test.c      | 52 +++++++++++++++++++
 3 files changed, 60 insertions(+), 4 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/x86_64/hwcr_msr_test.c
Signature · 1 line
2.42.0.582.g8ccd20d70d-goog