KVM: selftests: Add "instructions required" testcase
Status from this message: Applied to kvm-x86 pmu, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: selftests: Add a common helper for the PMU event filter guest codetools/ | +18 | 0 replies | |
| 2/6 | KVM: selftests: Add helpers for PMC asserts in PMU event filter testtools/ | +27 | 0 replies | |
| 3/6 | KVM: selftests: Print detailed info in PMU event filter assertstools/ | +5 | 0 replies | |
| 4/6 | KVM: selftests: Use error codes to signal errors in PMU event filter testtools/ | +8 | 0 replies | |
| 5/6 | KVM: selftests: Copy full counter values from guest in PMU event filter testtools/ | +80 | 0 replies | |
| 6/6 | KVM: selftests: Test the PMU event "Instructions retired"tools/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/6] KVM: selftests: Add "instructions required" testcase
This is the selftests portion of Aaron's series[*] to fix incorrect "instructions required" counting. The big change from v3 is to use a common struct to copy counter values to/from the guest instead of smushing the values into a single 64-bit value.
[*] https://lkml.kernel.org/r/20230307141400.1486314-1-aaronlewis%40google.com
Aaron Lewis (4):
KVM: selftests: Add a common helper for the PMU event filter guest
code
KVM: selftests: Add helpers for PMC asserts in PMU event filter test
KVM: selftests: Print detailed info in PMU event filter asserts
KVM: selftests: Test the PMU event "Instructions retired"
Sean Christopherson (2):
KVM: selftests: Use error codes to signal errors in PMU event filter
test
KVM: selftests: Copy full counter values from guest in PMU event
filter test
.../kvm/x86_64/pmu_event_filter_test.c | 252 ++++++++++-------- 1 file changed, 140 insertions(+), 112 deletions(-)
base-commit: b821bf96cf3bed0c1c8d34659299a3a1dc47218d
Signature · 1 line
2.40.0.577.gac1e443424-goog