Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_ras.c176 if (vc->tb_offset) { in kvmppc_p9_realmode_hmi_handler()
177 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler()
183 vc->tb_offset_applied = vc->tb_offset; in kvmppc_p9_realmode_hmi_handler()
Dbook3s_hv_nested.c37 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs()
77 hr->tb_offset = swab64(hr->tb_offset); in byteswap_hv_regs()
359 hdec_exp = l2_hv.hdec_expiry - vc->tb_offset; in kvmhv_enter_nested_guest()
360 vc->tb_offset += l2_hv.tb_offset; in kvmhv_enter_nested_guest()
361 vcpu->arch.dec_expires += l2_hv.tb_offset; in kvmhv_enter_nested_guest()
397 vc->tb_offset = saved_l1_hv.tb_offset; in kvmhv_enter_nested_guest()
399 vcpu->arch.dec_expires -= l2_hv.tb_offset; in kvmhv_enter_nested_guest()
Dbook3s_hv_p9_entry.c596 if (vc->tb_offset) { in kvmhv_vcpu_entry_p9()
597 u64 new_tb = *tb + vc->tb_offset; in kvmhv_vcpu_entry_p9()
604 vc->tb_offset_applied = vc->tb_offset; in kvmhv_vcpu_entry_p9()
Dbook3s_hv.c794 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + vc->tb_offset, stolen); in kvmppc_update_vpa_dispatch()
2326 *val = get_reg_val(id, vcpu->arch.vcore->tb_offset); in kvmppc_get_one_reg_hv()
2580 u64 tb_offset = ALIGN(set_reg_val(id, *val), 1UL << 24); in kvmppc_set_one_reg_hv() local
2590 if (!vcpu->arch.dec_expires && tb_offset) in kvmppc_set_one_reg_hv()
2591 vcpu->arch.dec_expires = get_tb() + tb_offset; in kvmppc_set_one_reg_hv()
2593 vcpu->arch.vcore->tb_offset = tb_offset; in kvmppc_set_one_reg_hv()
4101 vcpu->arch.dec_expires = dec + (*tb + vc->tb_offset); in kvmhv_vcpu_entry_p9_nested()
4660 kvmppc_update_vpa_dispatch_p9(vcpu, vc, tb + vc->tb_offset); in kvmhv_run_single_vcpu()
Dbook3s_xive.c2804 kvmppc_set_gpr(vcpu, 5, get_tb() + vc->tb_offset); in kvmppc_xive_xics_hcall()
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s.h87 u64 tb_offset; /* guest timebase - host timebase */ member
409 return vcpu->arch.dec_expires - vcpu->arch.vcore->tb_offset; in kvmppc_dec_expires_host_tb()
Dhvcall.h593 s64 tb_offset; member
/linux-6.1.9/arch/powerpc/kernel/
Dasm-offsets.c496 OFFSET(VCORE_TB_OFFSET, kvmppc_vcore, tb_offset); in main()
/linux-6.1.9/Documentation/trace/
Dftrace.rst496 tb_offset is known.