Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/kvm/x86_64/
Dtsc_msrs_test.c15 #define HOST_ADJUST (UNITY * 64) macro
52 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code()
62 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in guest_code()
73 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val - HOST_ADJUST); in guest_code()
132 vcpu_set_msr(vm, 0, MSR_IA32_TSC, HOST_ADJUST + val); in main()
133 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
139 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
144 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
153 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC), HOST_ADJUST + val); in main()
163 ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val - HOST_ADJUST); in main()