Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c35 #define TSC_ADJUST_VALUE (1ll << 32) macro
68 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code()
69 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l2_guest_code()
82 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code()
83 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
84 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
103 check_ia32_tsc_adjust(-1 * TSC_ADJUST_VALUE); in l1_guest_code()
109 check_ia32_tsc_adjust(-2 * TSC_ADJUST_VALUE); in l1_guest_code()
117 val, val / TSC_ADJUST_VALUE, val % TSC_ADJUST_VALUE); in report()