linux_dsm_epyc7002/tools/testing/selftests
Sean Christopherson 8a0639fe92 KVM: sefltests: Add explicit synchronization to move mem region test
Use sem_post() and sem_timedwait() to synchronize test stages between
the vCPU thread and the main thread instead of using usleep() to wait
for the vCPU thread and hoping for the best.

Opportunistically refactor the code to make it suck less in general,
and to prepare for adding more testcases.

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200410231707.7128-6-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-04-15 12:08:43 -04:00
..
android selftests: android: Fix custom install from skipping test progs 2020-03-13 13:46:55 -06:00
arm64 kselftest: arm64: fix spelling mistake "contiguos" -> "contiguous" 2019-11-11 18:25:24 +00:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-03-30 19:52:37 -07:00
breakpoints selftests: breakpoints: Fix a typo of function name 2019-11-07 14:27:26 -07:00
capabilities
cgroup selftests: Uninitialized variable in test_cgcore_proc_migration() 2020-01-09 16:21:23 -07:00
clone3 selftests/clone3: skip if clone3() is ENOSYS 2019-11-18 08:59:03 +01:00
cpu-hotplug
cpufreq
dmabuf-heaps dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier 2019-12-17 21:37:40 +05:30
drivers selftests: mlxsw: Add test cases for devlink-trap policers 2020-03-30 17:54:59 -07:00
efivarfs
exec
filesystems selftests: filesystems/epoll: fix build error 2019-12-23 10:52:40 -07:00
firmware selftests: firmware: Add firmware_request_platform tests 2020-03-20 14:54:04 +01:00
ftrace linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
futex selftests: use LDLIBS for libraries instead of LDFLAGS 2020-02-13 13:14:34 -07:00
gpio
ia64
intel_pstate
ipc
ir media: selftests: ir: fix ir_loopback test failure 2019-08-14 05:06:25 -03:00
kcmp
kexec sefltest/ima: support appended signatures (modsig) 2019-08-29 12:45:30 -04:00
kmod
kselftest selftests: settings: tests can be in subsubdirs 2020-01-27 10:49:52 -07:00
kvm KVM: sefltests: Add explicit synchronization to move mem region test 2020-04-15 12:08:43 -04:00
lib selftests: Move kselftest_module.sh into kselftest/ 2019-11-07 14:46:08 -07:00
livepatch selftests: Install settings files to fix TIMEOUT failures 2020-02-20 08:56:42 -07:00
lkdtm selftest/lkdtm: Use local .gitignore 2020-03-02 08:39:39 -07:00
locking
media_tests
membarrier selftests, sched/membarrier: Add multi-threaded test 2019-09-25 17:42:31 +02:00
memfd selftests: Fix memfd to support relocatable build (O=objdir) 2020-03-26 15:29:30 -06:00
memory-hotplug
mount
mqueue
net selftests: mlxsw: Add test cases for devlink-trap policers 2020-03-30 17:54:59 -07:00
netfilter selftests: netfilter: add nfqueue test case 2020-03-24 20:00:12 +01:00
nsfs
ntb
openat2 selftests: openat2: fix build error on newer glibc 2020-02-13 13:15:45 -07:00
pidfd selftests: pidfd: Add pidfd_fdinfo_test in .gitignore 2020-02-28 13:35:05 +01:00
powerpc selftests/eeh: Bump EEH wait time to 60s 2020-01-26 00:11:37 +11:00
prctl
proc selftests: proc: Make va_max 1MB 2019-11-07 14:52:57 -07:00
pstore
ptp ptp: Extend the test program to check the external time stamp flags. 2019-11-15 12:48:33 -08:00
ptrace selftests/ptrace: add test cases for dead-locks 2020-03-25 10:04:01 -05:00
rcutorture Merge branches 'doc.2020.02.27a', 'fixes.2020.03.21a', 'kfree_rcu.2020.02.20a', 'locktorture.2020.02.20a', 'ovld.2020.02.20a', 'rcu-tasks.2020.02.20a', 'srcu.2020.02.20a' and 'torture.2020.02.20a' into HEAD 2020-03-21 17:15:11 -07:00
resctrl selftests/resctrl: fix spelling mistake "Errror" -> "Error" 2020-03-13 13:29:22 -06:00
rseq selftests/rseq: Fix out-of-tree compilation 2020-02-20 08:57:12 -07:00
rtc selftests: Install settings files to fix TIMEOUT failures 2020-02-20 08:56:42 -07:00
safesetid selftests: safesetid: Fix Makefile to set correct test program 2019-12-09 10:53:04 -07:00
seccomp linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
sigaltstack
size kselftest: Minimise dependency of get_size on C library interfaces 2020-01-16 13:08:26 -07:00
sparc64
splice
static_keys
sync selftests: sync: Fix cast warnings on arm 2019-11-07 14:54:37 -07:00
sysctl
tc-testing selftests: qdiscs: RED: Add nodrop tests 2020-03-14 21:03:46 -07:00
timens linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
timers
tmpfs
tpm2 Kernel selftests: tpm2: check for tpm support 2020-02-10 18:00:40 -07:00
uevent
user
vDSO
vm selftests/vm: fix map_hugetlb length used for testing read and write 2020-04-02 09:35:32 -07:00
watchdog selftests: watchdog: Add command line option to show watchdog_info 2019-10-02 13:44:43 -06:00
wireguard wireguard: noise: error out precomputed DH during handshake rather than config 2020-03-18 18:51:43 -07:00
x86 selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault 2020-03-20 11:28:47 +01:00
zram
.gitignore selftests/bpf: Add test for "bpftool feature" command 2020-02-26 18:34:34 +01:00
gen_kselftest_tar.sh selftests: gen_kselftest_tar.sh: Do not clobber kselftest/ 2019-11-07 14:43:27 -07:00
kselftest_harness.h selftests/harness: Handle timeouts cleanly 2020-03-26 15:27:52 -06:00
kselftest_install.sh selftests: gen_kselftest_tar.sh: Do not clobber kselftest/ 2019-11-07 14:43:27 -07:00
kselftest_module.h
kselftest.h
lib.mk linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00
Makefile linux-kselftest-5.7-rc1 2020-04-01 16:09:12 -07:00