Skip to content

KVM: selftests: Add tests for PEBS and MSR_IA32_DS_AREA

Jinrong Liang kvm linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: selftests: Test consistency of setting MSR_IA32_DS_AREAtools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c+100 -01 reply
2/2KVM: selftests: Add PEBS test for MSR_IA32_PERF_CAPABILITIEStools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c+71 -02 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] KVM: selftests: Add tests for PEBS and MSR_IA32_DS_AREA

Hi,

This patch series introduces two tests to further enhance and verify the functionality of the KVM subsystem. These tests focus on MSR_IA32_DS_AREA and MSR_IA32_PERF_CAPABILITIES.

The first patch adds tests to verify the correct behavior when trying to set MSR_IA32_DS_AREA with a non-classical address. It checks that KVM is correctly faulting these non-classical addresses, ensuring the accuracy and stability of the KVM subsystem.

The second patch includes a comprehensive PEBS test that checks all possible combinations of PEBS-related bits in MSR_IA32_PERF_CAPABILITIES. This helps to ensure the accuracy of PEBS functionality.

Feedback and suggestions are welcomed and appreciated.

Sincerely,
Jinrong Liang

Jinrong Liang (2):
KVM: selftests: Test consistency of setting MSR_IA32_DS_AREA
KVM: selftests: Add PEBS test for MSR_IA32_PERF_CAPABILITIES

 .../selftests/kvm/x86_64/vmx_pmu_caps_test.c  | 171 ++++++++++++++++++
 1 file changed, 171 insertions(+)

base-commit: 31b4fc3bc64aadd660c5bfa5178c86a7ba61e0f7

Signature · 1 line
2.31.1