Searched refs:tb_offset (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_ras.c | 177 if (vc->tb_offset) { in kvmppc_p9_realmode_hmi_handler() 178 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler() 184 vc->tb_offset_applied = vc->tb_offset; in kvmppc_p9_realmode_hmi_handler()
|
H A D | book3s_hv_nested.c | 37 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() [all...] |
H A D | book3s_hv_p9_entry.c | 596 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()
|
H A D | book3s_hv.c | 797 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + vc->tb_offset, stolen); in kvmppc_update_vpa_dispatch() 2341 *val = get_reg_val(id, vcpu->arch.vcore->tb_offset); in kvmppc_get_one_reg_hv() 2598 u64 tb_offset = ALIGN(set_reg_val(id, *val), 1UL << 24); in kvmppc_set_one_reg_hv() local 2608 if (!vcpu->arch.dec_expires && tb_offset) in kvmppc_set_one_reg_hv() 2609 vcpu->arch.dec_expires = get_tb() + tb_offset; in kvmppc_set_one_reg_hv() 2611 vcpu->arch.vcore->tb_offset = tb_offset; in kvmppc_set_one_reg_hv() 4129 vcpu->arch.dec_expires = dec + (*tb + vc->tb_offset); in kvmhv_vcpu_entry_p9_nested() 4694 kvmppc_update_vpa_dispatch_p9(vcpu, vc, tb + vc->tb_offset); in kvmhv_run_single_vcpu()
|
H A D | book3s_xive.c | 2802 kvmppc_set_gpr(vcpu, 5, get_tb() + vc->tb_offset); in kvmppc_xive_xics_hcall()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_nested.c | 35 hr->tb_offset = vc->tb_offset; in kvmhv_save_hv_regs() 73 hr->tb_offset = swab64(hr->tb_offset); in byteswap_hv_regs() 293 hdec_exp = l2_hv.hdec_expiry - vc->tb_offset; in kvmhv_enter_nested_guest() 294 vc->tb_offset += l2_hv.tb_offset; in kvmhv_enter_nested_guest() 334 vc->tb_offset = saved_l1_hv.tb_offset; in kvmhv_enter_nested_guest()
|
H A D | book3s_hv.c | 717 dt->timebase = cpu_to_be64(now + vc->tb_offset); in kvmppc_create_dtl_entry() 1801 *val = get_reg_val(id, vcpu->arch.vcore->tb_offset); in kvmppc_get_one_reg_hv() 1881 vcpu->arch.vcore->tb_offset); in kvmppc_get_one_reg_hv() 2046 vcpu->arch.vcore->tb_offset = in kvmppc_set_one_reg_hv() 2128 vcpu->arch.vcore->tb_offset; in kvmppc_set_one_reg_hv() 3478 if (vc->tb_offset) { in kvmhv_load_hv_regs_and_go() 3479 u64 new_tb = mftb() + vc->tb_offset; in kvmhv_load_hv_regs_and_go() 3484 vc->tb_offset_applied = vc->tb_offset; in kvmhv_load_hv_regs_and_go()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | kvm_book3s.h | 87 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()
|
H A D | hvcall.h | 594 s64 tb_offset; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | kvm_book3s.h | 87 u64 tb_offset; /* guest timebase - host timebase */ member
|
H A D | hvcall.h | 545 s64 tb_offset; member
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 598 OFFSET(VCORE_TB_OFFSET, kvmppc_vcore, tb_offset); in main()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | asm-offsets.c | 488 OFFSET(VCORE_TB_OFFSET, kvmppc_vcore, tb_offset); in main()
|
Completed in 28 milliseconds