Searched refs:tsc_offset (Results 1 – 13 of 13) sorted by relevance
/arch/x86/kvm/svm/ |
D | nested.c | 176 dst->tsc_offset = from->tsc_offset; in copy_vmcb_control_area() 542 svm->vmcb->control.tsc_offset = vcpu->arch.tsc_offset = in nested_vmcb02_prepare_control() 543 vcpu->arch.l1_tsc_offset + svm->nested.ctl.tsc_offset; in nested_vmcb02_prepare_control() 827 svm->vcpu.arch.tsc_offset = svm->vcpu.arch.l1_tsc_offset; in nested_svm_vmexit() 828 if (svm->vmcb->control.tsc_offset != svm->vcpu.arch.tsc_offset) { in nested_svm_vmexit() 829 svm->vmcb->control.tsc_offset = svm->vcpu.arch.tsc_offset; in nested_svm_vmexit()
|
D | svm.c | 1125 return svm->nested.ctl.tsc_offset; in svm_get_l2_tsc_offset() 1137 svm->vmcb01.ptr->control.tsc_offset = vcpu->arch.l1_tsc_offset; in svm_write_tsc_offset() 1138 svm->vmcb->control.tsc_offset = offset; in svm_write_tsc_offset() 3193 pr_err("%-20s%016llx\n", "tsc_offset:", control->tsc_offset); in dump_vmcb()
|
/arch/x86/kvm/vmx/ |
D | vmcs12.h | 43 u64 tsc_offset; member 226 CHECK_OFFSET(tsc_offset, 88); in vmx_check_vmcs12_offsets()
|
D | vmcs12.c | 38 FIELD64(TSC_OFFSET, tsc_offset),
|
D | evmcs.c | 71 EVMCS1_FIELD(TSC_OFFSET, tsc_offset,
|
D | nested.c | 1713 vmcs12->tsc_offset = evmcs->tsc_offset; in copy_enlightened_to_vmcs12() 2540 vcpu->arch.tsc_offset = kvm_calc_nested_tsc_offset( in prepare_vmcs02() 2549 vmcs_write64(TSC_OFFSET, vcpu->arch.tsc_offset); in prepare_vmcs02() 3503 vcpu->arch.tsc_offset -= vmcs12->tsc_offset; in nested_vmx_enter_non_root_mode() 4579 vcpu->arch.tsc_offset = vcpu->arch.l1_tsc_offset; in nested_vmx_vmexit() 4640 vmcs_write64(TSC_OFFSET, vcpu->arch.tsc_offset); in nested_vmx_vmexit()
|
D | vmx.c | 1782 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset()
|
/arch/x86/kvm/ |
D | debugfs.c | 34 *val = vcpu->arch.tsc_offset; in vcpu_get_tsc_offset()
|
D | hyperv.c | 558 + hv->tsc_ref.tsc_offset; in get_time_ref_counter() 1101 tsc_ref->tsc_offset = hv_clock->system_time; in compute_tsc_page_parameters() 1102 do_div(tsc_ref->tsc_offset, 100); in compute_tsc_page_parameters() 1103 tsc_ref->tsc_offset -= in compute_tsc_page_parameters()
|
D | x86.c | 2477 vcpu->arch.tsc_offset = kvm_calc_nested_tsc_offset( in kvm_vcpu_write_tsc_offset() 2482 vcpu->arch.tsc_offset = l1_offset; in kvm_vcpu_write_tsc_offset() 2484 static_call(kvm_x86_write_tsc_offset)(vcpu, vcpu->arch.tsc_offset); in kvm_vcpu_write_tsc_offset() 2619 u64 tsc_offset = vcpu->arch.l1_tsc_offset; in adjust_tsc_offset_guest() local 2620 kvm_vcpu_write_tsc_offset(vcpu, tsc_offset + adjustment); in adjust_tsc_offset_guest() 3800 offset = vcpu->arch.tsc_offset; in kvm_get_msr_common()
|
/arch/x86/include/asm/ |
D | hyperv-tlfs.h | 457 u64 tsc_offset; member
|
D | svm.h | 127 u64 tsc_offset; member
|
D | kvm_host.h | 762 u64 tsc_offset; /* current tsc offset */ member
|