Skip to content

KVM: x86: Fix MSR_IA32_PERF_CAPABILITIES writes check and vmx_pmu_msrs_test

Vitaly Kuznetsov kvm lkml 1 version Applied

Status from this message: Queued, thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: selftests: vmx_pmu_msrs_test: Drop tests mangling guest visible CPUIDstools/testing/selftests/kvm/x86_64/vmx_pmu_msrs_test.c+0 -170 replies
2/2KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIESarch/x86/kvm/x86.c+1 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: x86: Fix MSR_IA32_PERF_CAPABILITIES writes check and vmx_pmu_msrs_test

This is a continuation of "KVM: selftests: Avoid KVM_SET_CPUID2 after KVM_RUN in vmx_pmu_msrs_test" work. Instead of fixing the immediate issue, drop incorrect check in KVM which was making the result of host initiated writes to MSR_IA32_PERF_CAPABILITIES dependent on guest visible CPUIDs and the corresponding tests in vmx_pmu_msrs_test, this will also make the issue reported by kernel test robot to go away.

Vitaly Kuznetsov (2):
KVM: selftests: vmx_pmu_msrs_test: Drop tests mangling guest visible
CPUIDs
KVM: x86: Drop guest CPUID check for host initiated writes to
MSR_IA32_PERF_CAPABILITIES

 arch/x86/kvm/x86.c                              |  2 +-
 .../selftests/kvm/x86_64/vmx_pmu_msrs_test.c    | 17 -----------------
 2 files changed, 1 insertion(+), 18 deletions(-)
Signature · 1 line
2.33.1