KVM: selftests: Fix maxnodes bugs and cleanup related code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | KVM: selftests: Account for kernel's off-by-one bug in NUMA node syscallstools/ tools/ tools/ | +13 | 1 reply | |
| 2/7 | KVM: selftests: Fix maxnode argument to migrate_pages() in xapic_ipi_testtools/ | +1 | 0 replies | |
| 3/7 | KVM: selftests: use BITS_PER_TYPE() for NUMA maskstools/ | +3 | 0 replies | |
| 4/7 | KVM: selftests: Compute node masks on-demand in xAPIC IPI testtools/ tools/ | +30 | 1 reply | |
| 5/7 | KVM: selftests: Add common helper to get mask+number of usable memory NUMA nodestools/ tools/ | +14 | 1 reply | |
| 6/7 | KVM: selftests: Automatically run xAPIC IPI migration test when possibletools/ | +27 | 1 reply | |
| 7/7 | KVM: selftests: Skip xAPIC IPI migration test when forced but unsupportedtools/ | +3 | 1 reply |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Shivank Garg |
|---|---|
| 1/7 | R-b |
| 2/7 | |
| 3/7 | |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] KVM: selftests: Fix maxnodes bugs and cleanup related code
This is a spin-off of Shivank's series[*] to fix "flaws" in KVM selftests handling of @maxnode in various sycalls. In quote because the flaw is that KVM selftests followed the docs, and the kernel has a longstanding, poorly documented off-by-one bug.
Along the way, massage the xAPIC IPI test to automatically run its page migration testcases when possible, because that's the entire reason the test exists.
I didn't included the guest_memfd changes that were the focus of Shivank's series, as they are bigger and more involved (I'll let Shivank tackle those).
[*] https://lore.kernel.org/all/[email protected]
Sean Christopherson (5):
KVM: selftests: Account for kernel's off-by-one bug in NUMA node
syscalls
KVM: selftests: Compute node masks on-demand in xAPIC IPI test
KVM: selftests: Add common helper to get mask+number of usable memory
NUMA nodes
KVM: selftests: Automatically run xAPIC IPI migration test when
possible
KVM: selftests: Skip xAPIC IPI migration test when forced but
unsupported
Shivank Garg (2):
KVM: selftests: Fix maxnode argument to migrate_pages() in
xapic_ipi_test
KVM: selftests: use BITS_PER_TYPE() for NUMA masks
.../testing/selftests/kvm/guest_memfd_test.c | 2 +- tools/testing/selftests/kvm/include/numaif.h | 43 ++++++++++ .../selftests/kvm/x86/xapic_ipi_test.c | 78 +++++++++---------- 3 files changed, 83 insertions(+), 40 deletions(-)
base-commit: 76671054f9a1ff6abb976583cd8da37650acdc97
Signature · 1 line
2.55.0.970.g62bdec98f9-goog