1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/kvm/include
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: arm64: Determine max ipa size per-page size 2023-11-27 15:03:50 +00:00
riscv RISC-V: KVM: selftests: Add steal_time test support 2023-12-30 11:26:45 +05:30
s390x KVM: selftests: Add #define of expected KVM exit reason for ucall 2023-08-02 14:42:52 -07:00
x86_64 KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_page too 2024-02-01 08:58:14 -08:00
guest_modes.h KVM: selftests: arm64: Determine max ipa size per-page size 2023-11-27 15:03:50 +00:00
kvm_util.h kvm: selftests: move ucall declarations into ucall_common.h 2022-01-07 13:25:33 -05:00
kvm_util_base.h KVM/arm64 updates for Linux 6.8 2024-01-08 08:09:53 -05:00
memstress.h KVM: selftests: Move dirty logging functions to memstress.(c|h) 2023-06-01 14:03:18 -07:00
numaif.h KVM: selftests: Add missing header file needed by xAPIC IPI tests 2021-02-11 08:02:08 -05:00
sparsebit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.h KVM: selftests: Generalize check_clocksource() from kvm_clock_test 2024-02-01 08:58:13 -08:00
ucall_common.h KVM: selftests: Annotate guest ucall, printf, and assert helpers with __printf() 2023-12-01 08:15:41 -08:00
userfaultfd_util.h KVM: selftests: Add a userfaultfd library 2022-11-10 19:10:27 +00:00