Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_clock.c
/linux/tools/testing/selftests/kvm/
H A Dsystem_counter_offset_test.c20 uint64_t tsc_offset; member
39 &test->tsc_offset); in setup_system_counter()
49 return rdtsc() + test->tsc_offset; in host_read_guest_system_counter()
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c2505 decoder->packet.payload -= vmcs_info->tsc_offset; in intel_pt_translate_vm_tsc()
2519 vmcs_info->tsc_offset);
2523 uint64_t tsc_offset) in intel_pt_translate_vm_tsc_offset()
2527 .tsc_offset = tsc_offset in intel_pt_translate_vm_tsc_offset()
2546 vmcs_info->vmcs, vmcs_info->tsc_offset);
2573 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_first_tsc()
2588 if (vmcs_info && vmcs_info->tsc_offset) in intel_pt_vm_tm_corr_first_tsc()
2600 uint64_t tsc_offset = 0; in intel_pt_vm_tm_corr_tsc()
2645 tsc_offset in intel_pt_vm_tm_corr_tsc()
2521 intel_pt_translate_vm_tsc_offset(struct intel_pt_decoder * decoder,uint64_t tsc_offset) intel_pt_translate_vm_tsc_offset() argument
2598 uint64_t tsc_offset = 0; intel_pt_vm_tm_corr_tsc() local
[all...]
H A Dintel-pt-decoder.h211 uint64_t tsc_offset; member
/linux/include/clocksource/
H A Dhyperv_timer.h77 offset = READ_ONCE(tsc_pg->tsc_offset); in hv_read_tsc_page_tsc()
/linux/arch/x86/kvm/vmx/
H A Dvmcs12.h43 u64 tsc_offset; member
227 CHECK_OFFSET(tsc_offset, 88); in vmx_check_vmcs12_offsets()
H A Dvmcs12.c39 FIELD64(TSC_OFFSET, tsc_offset),
H A Dhyperv_evmcs.c65 EVMCS1_FIELD(TSC_OFFSET, tsc_offset,
H A Dnested.c1799 vmcs12->tsc_offset = evmcs->tsc_offset; in copy_enlightened_to_vmcs12()
2682 vcpu->arch.tsc_offset = kvm_calc_nested_tsc_offset( in prepare_vmcs02()
2691 vmcs_write64(TSC_OFFSET, vcpu->arch.tsc_offset); in prepare_vmcs02()
3638 vcpu->arch.tsc_offset -= vmcs12->tsc_offset; in nested_vmx_enter_non_root_mode()
4974 vcpu->arch.tsc_offset = vcpu->arch.l1_tsc_offset; in nested_vmx_vmexit()
5035 vmcs_write64(TSC_OFFSET, vcpu->arch.tsc_offset); in nested_vmx_vmexit()
H A Dvmx.c1937 return vmcs12->tsc_offset; in vmx_get_l2_tsc_offset()
1955 vmcs_write64(TSC_OFFSET, vcpu->arch.tsc_offset); in vmx_write_tsc_offset()
/linux/arch/x86/kvm/
H A Ddebugfs.c36 *val = vcpu->arch.tsc_offset; in vcpu_get_tsc_offset()
H A Dx86.c2584 vcpu->arch.tsc_offset = kvm_calc_nested_tsc_offset( in kvm_vcpu_write_tsc_offset()
2589 vcpu->arch.tsc_offset = l1_offset; in kvm_vcpu_write_tsc_offset()
2748 u64 tsc_offset = vcpu->arch.l1_tsc_offset; in adjust_tsc_offset_guest() local
2749 kvm_vcpu_write_tsc_offset(vcpu, tsc_offset + adjustment); in adjust_tsc_offset_guest()
4243 offset = vcpu->arch.tsc_offset; in kvm_get_msr_common()
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dsvm.h
H A Devmcs.h
/linux/arch/x86/include/asm/
H A Dsev.h190 u64 tsc_offset; member
H A Dkvm_host.h926 u64 tsc_offset; /* current tsc offset */ member
/linux/Documentation/virt/kvm/x86/
H A Dnested-vmx.rst101 u64 tsc_offset;
/linux/arch/x86/coco/sev/
H A Dcore.c1289 vmsa->tsc_offset = snp_tsc_offset; in wakeup_cpu_via_vmgexit()
3230 __func__, tsc_resp->status, tsc_resp->tsc_scale, tsc_resp->tsc_offset, in snp_get_tsc_info()
3235 snp_tsc_offset = tsc_resp->tsc_offset; in snp_get_tsc_info()
/linux/arch/x86/kvm/svm/
H A Dsvm.h153 u64 tsc_offset; member
H A Dsvm.c1152 return svm->nested.ctl.tsc_offset; in svm_get_l2_tsc_offset()
1166 svm->vmcb01.ptr->control.tsc_offset = vcpu->arch.l1_tsc_offset; in svm_write_tsc_offset()
1167 svm->vmcb->control.tsc_offset = vcpu->arch.tsc_offset; in svm_write_tsc_offset()
3403 pr_err("%-20s%016llx\n", "tsc_offset:", control->tsc_offset); in dump_vmcb()