KVM selftests changes for 6.5. The most notable change is adding dependency generation, and it's also the one I'm least confident about because my Makefile knowledge is abysmal. Please give that one an extra pass or two. The following changes since commit b9846a698c9aff4eb2214a06ac83638ad098f33f: KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (2023-05-21 04:05:51 -0400) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-selftests-6.5 for you to fetch changes up to 5ed19528db8ddcf0113d721f67a381be3e30c65a: KVM: selftests: Add new CFLAGS to generate dependency files (2023-06-13 14:26:22 -0700) ---------------------------------------------------------------- KVM selftests changes for 6.5: - Add a test for splitting and reconstituting hugepages during and after dirty logging - Add support for CPU pinning in demand paging test - Generate dependency files so that partial rebuilds work as expected - Misc cleanups and fixes ---------------------------------------------------------------- Ben Gardon (2): KVM: selftests: Move dirty logging functions to memstress.(c|h) KVM: selftests: Add dirty logging page splitting test Colin Ian King (1): KVM: selftests: Fix spelling mistake "miliseconds" -> "milliseconds" Paolo Bonzini (1): KVM: selftests: touch all pages of args on each memstress iteration Peter Xu (3): KVM: selftests: Setup vcpu_alias only for minor mode test KVM: selftests: Allow dumping per-vcpu info for uffd threads KVM: selftests: Allow specify physical cpu list in demand paging test Sean Christopherson (1): KVM: selftests: Refactor stable TSC check to use TEST_REQUIRE() Yu Zhang (1): KVM: selftests: Add new CFLAGS to generate dependency files tools/testing/selftests/kvm/Makefile | 18 +- tools/testing/selftests/kvm/demand_paging_test.c | 32 ++- tools/testing/selftests/kvm/dirty_log_perf_test.c | 96 +------- .../testing/selftests/kvm/include/kvm_util_base.h | 1 + tools/testing/selftests/kvm/include/memstress.h | 8 + tools/testing/selftests/kvm/lib/kvm_util.c | 17 ++ tools/testing/selftests/kvm/lib/memstress.c | 75 ++++++ tools/testing/selftests/kvm/lib/userfaultfd_util.c | 4 +- .../kvm/x86_64/dirty_log_page_splitting_test.c | 259 +++++++++++++++++++++ .../selftests/kvm/x86_64/nx_huge_pages_test.c | 2 +- .../kvm/x86_64/vmx_nested_tsc_scaling_test.c | 22 +- 11 files changed, 416 insertions(+), 118 deletions(-) create mode 100644 tools/testing/selftests/kvm/x86_64/dirty_log_page_splitting_test.c