Searched refs:MSR_IA32_TSC_ADJUST (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | tsc_msrs_test.c | 24 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 30 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 35 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code() 37 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 42 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 50 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code() 52 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val); in guest_code() 62 GUEST_ASSERT_EQ(rounded_rdmsr(MSR_IA32_TSC_ADJUST), val - HOST_ADJUST); in guest_code() 107 TEST_ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main() 113 TEST_ASSERT_EQ(rounded_host_rdmsr(MSR_IA32_TSC_ADJUST), val); in main() [all …]
|
D | vmx_tsc_adjust_test.c | 31 #ifndef MSR_IA32_TSC_ADJUST 32 #define MSR_IA32_TSC_ADJUST 0x3b macro 59 adjust = rdmsr(MSR_IA32_TSC_ADJUST); in check_ia32_tsc_adjust()
|
/linux-6.6.21/arch/x86/kernel/ |
D | tsc_sync.c | 68 rdmsrl(MSR_IA32_TSC_ADJUST, curval); in tsc_verify_tsc_adjust() 73 wrmsrl(MSR_IA32_TSC_ADJUST, adj->adjusted); in tsc_verify_tsc_adjust() 145 wrmsrl(MSR_IA32_TSC_ADJUST, 0); in tsc_sanitize_first_cpu() 168 rdmsrl(MSR_IA32_TSC_ADJUST, bootval); in tsc_store_and_check_tsc_adjust() 190 rdmsrl(MSR_IA32_TSC_ADJUST, bootval); in tsc_store_and_check_tsc_adjust() 234 wrmsrl(MSR_IA32_TSC_ADJUST, ref->adjusted); in tsc_store_and_check_tsc_adjust() 523 wrmsrl(MSR_IA32_TSC_ADJUST, cur->adjusted); in check_tsc_sync_target()
|
D | tsc.c | 1098 rdmsrl(MSR_IA32_TSC_ADJUST, art_to_tsc_offset); in detect_art()
|
/linux-6.6.21/tools/arch/x86/include/asm/ |
D | msr-index.h | 774 #define MSR_IA32_TSC_ADJUST 0x0000003b macro
|
/linux-6.6.21/arch/x86/include/asm/ |
D | msr-index.h | 780 #define MSR_IA32_TSC_ADJUST 0x0000003b macro
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 1528 MSR_IA32_TSC_ADJUST, 3734 case MSR_IA32_TSC_ADJUST: in kvm_set_msr_common() 4165 case MSR_IA32_TSC_ADJUST: in kvm_get_msr_common()
|