1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/kvm/lib
Oliver Upton e918e2bc52 selftests: KVM: Create helper for making SMCCC calls
The PSCI and PV stolen time tests both need to make SMCCC calls within
the guest. Create a helper for making SMCCC calls and rework the
existing tests to use the library function.

Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220409184549.1681189-11-oupton@google.com
2022-05-03 21:30:20 +01:00
..
aarch64 selftests: KVM: Create helper for making SMCCC calls 2022-05-03 21:30:20 +01:00
riscv KVM: selftests: riscv: Fix alignment of the guest_hang() function 2022-04-09 09:15:51 +05:30
s390x KVM: selftests: Add wrapper to allocate page table page 2021-06-24 11:47:49 -04:00
x86_64 KVM: selftests: nSVM: Set up MSR-Bitmap for SVM guests 2022-02-10 13:50:47 -05:00
assert.c KVM: selftests: Print the errno besides error-string in TEST_ASSERT 2021-04-20 04:18:52 -04:00
elf.c KVM: selftests: Expose align() helpers to tests 2021-11-16 07:43:24 -05:00
guest_modes.c KVM/riscv changes for 5.17, take #1 2022-01-07 10:43:02 -05:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util.c KVM: selftests: Split out helper to allocate guest mem via memfd 2022-03-08 10:59:10 -05:00
kvm_util_internal.h KVM: selftests: create alias mappings when using shared memory 2021-05-27 07:45:56 -04:00
perf_test_util.c KVM: selftests: Wait for all vCPU to be created before entering guest mode 2021-11-16 07:43:28 -05:00
rbtree.c KVM: selftests: Keep track of memslots more efficiently 2021-05-27 07:45:54 -04:00
sparsebit.c kvm: selftests: Fix spelling mistake "missmatch" -> "mismatch" 2021-09-30 04:27:08 -04:00
test_util.c KVM: selftests: Assert mmap HVA is aligned when using HugeTLB 2021-11-16 07:43:25 -05:00