Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c7164 u32 delta_tsc; in vmx_update_hv_timer() local
7173 delta_tsc = (u32)((vmx->hv_deadline_tsc - tscl) >> in vmx_update_hv_timer()
7176 delta_tsc = 0; in vmx_update_hv_timer()
7178 vmcs_write32(VMX_PREEMPTION_TIMER_VALUE, delta_tsc); in vmx_update_hv_timer()
8043 u64 tscl, guest_tscl, delta_tsc, lapic_timer_advance_cycles; in vmx_set_hv_timer() local
8049 delta_tsc = max(guest_deadline_tsc, guest_tscl) - guest_tscl; in vmx_set_hv_timer()
8053 if (delta_tsc > lapic_timer_advance_cycles) in vmx_set_hv_timer()
8054 delta_tsc -= lapic_timer_advance_cycles; in vmx_set_hv_timer()
8056 delta_tsc = 0; in vmx_set_hv_timer()
8060 delta_tsc && u64_shl_div_u64(delta_tsc, in vmx_set_hv_timer()
[all …]