Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c6998 u32 delta_tsc; in vmx_update_hv_timer() local
7007 delta_tsc = (u32)((vmx->hv_deadline_tsc - tscl) >> in vmx_update_hv_timer()
7010 delta_tsc = 0; in vmx_update_hv_timer()
7012 vmcs_write32(VMX_PREEMPTION_TIMER_VALUE, delta_tsc); in vmx_update_hv_timer()
7828 u64 tscl, guest_tscl, delta_tsc, lapic_timer_advance_cycles; in vmx_set_hv_timer() local
7834 delta_tsc = max(guest_deadline_tsc, guest_tscl) - guest_tscl; in vmx_set_hv_timer()
7838 if (delta_tsc > lapic_timer_advance_cycles) in vmx_set_hv_timer()
7839 delta_tsc -= lapic_timer_advance_cycles; in vmx_set_hv_timer()
7841 delta_tsc = 0; in vmx_set_hv_timer()
7845 delta_tsc && u64_shl_div_u64(delta_tsc, in vmx_set_hv_timer()
[all …]