Fix up failures induced by !enable_pmu
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 6 repliesIn review
- v13 patches 12 repliesSuperseded
Changes in v2 from the cover letter
1. Check PDCM bit of CPUID(1).ecx before read PERF_CAPABILIIES msr.
2. Rebased to newer kvm unit tests master branch.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Remove perf enable bit from default configx86/ | +3 | 2 replies | |
| 2/3 | x86: Skip running test when pmu is disabledx86/ | +11 | 2 replies | |
| 3/3 | x86: Skip perf related tests when pmu is disabledx86/ | +24 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [kvm-unit-tests PATCH v2 0/3] Fix up failures induced by !enable_pmu
Recently Paolo and Like submitted fixup patches for !enable_pmu case, this induces some test failures in kvm unit tests, fix them in this series.
Patches were tested with below config:
kernel:
kvm/queue, commit 8baacf67c76c
qemu:
master, commit 9b1f58854959
platform:
Skylake/Sapphire Rapids
v2:
1. Check PDCM bit of CPUID(1).ecx before read PERF_CAPABILIIES msr.
2. Rebased to newer kvm unit tests master branch.
Yang Weijiang (3):
x86: Remove perf enable bit from default config
x86: Skip running test when pmu is disabled
x86: Skip perf related tests when pmu is disabled
x86/msr.c | 4 +++- x86/pmu_lbr.c | 12 +++++++++++- x86/vmx_tests.c | 24 ++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-)
base-commit: 610c15284a537484682adfb4b6d6313991ab954f
Signature · 1 line
2.31.1