Home
last modified time | relevance | path

Searched refs:TSC_ADJUST_VALUE (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c35 #define TSC_ADJUST_VALUE (1ll << 32) macro
73 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code()
74 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l2_guest_code()
87 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code()
88 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
89 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
108 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
114 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l1_guest_code()
122 val, val / TSC_ADJUST_VALUE, val % TSC_ADJUST_VALUE); in report()