linux-stable/tools/testing/selftests/kvm/lib
Vitaly Kuznetsov 09951bf2cb KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too
KVM's 'gtod_is_based_on_tsc()' recognizes two clocksources: 'tsc' and
'hyperv_clocksource_tsc_page' and enables kvmclock in 'masterclock'
mode when either is in use. Transform 'sys_clocksource_is_tsc()' into
'sys_clocksource_is_based_on_tsc()' to support the later. This affects
two tests: kvm_clock_test and vmx_nested_tsc_scaling_test, both seem
to work well when system clocksource is 'hyperv_clocksource_tsc_page'.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20240109141121.1619463-4-vkuznets@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2024-02-01 08:58:14 -08:00
..
aarch64 KVM: selftests: aarch64: Remove redundant newlines 2024-01-29 08:39:15 -08:00
riscv KVM: selftests: riscv: Remove redundant newlines 2024-01-29 08:39:16 -08:00
s390x KVM: selftests: s390x: Remove redundant newlines 2024-01-29 08:39:16 -08:00
x86_64 KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too 2024-02-01 08:58:14 -08:00
assert.c KVM: selftests: Gracefully handle empty stack traces 2022-09-30 06:38:00 -04:00
elf.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
guest_modes.c KVM: selftests: arm64: Support P52V48 4K and 16K guest_modes 2023-11-27 15:03:50 +00:00
guest_sprintf.c KVM: selftests: Treat %llx like %lx when formatting guest printf 2023-10-04 12:53:04 -07:00
io.c
kvm_util.c KVM: selftests: Fail tests when open() fails with !ENOENT 2024-01-30 12:32:03 -08:00
memstress.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00
rbtree.c KVM: selftests: Keep track of memslots more efficiently 2021-05-27 07:45:54 -04:00
sparsebit.c KVM: selftests: Remove superfluous variable assignment 2023-08-02 14:13:07 -07:00
string_override.c KVM: selftests: Add strnlen() to the string overrides 2023-08-02 14:41:59 -07:00
test_util.c KVM: selftests: Generalize check_clocksource() from kvm_clock_test 2024-02-01 08:58:13 -08:00
ucall_common.c KVM: selftests: Add formatted guest assert support in ucall framework 2023-08-02 14:41:59 -07:00
userfaultfd_util.c KVM: selftests: Remove redundant newlines 2024-01-29 08:39:14 -08:00