Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_ras.c157 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmppc_p9_realmode_hmi_handler() local
158 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
159 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
160 new_tb += 0x1000000; in kvmppc_p9_realmode_hmi_handler()
161 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
178 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler() local
179 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
180 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
181 new_tb += 0x1000000; in kvmppc_p9_realmode_hmi_handler()
182 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
Dbook3s_hv_p9_entry.c597 u64 new_tb = *tb + vc->tb_offset; in kvmhv_vcpu_entry_p9() local
598 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
599 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()
600 new_tb += 0x1000000; in kvmhv_vcpu_entry_p9()
601 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
603 *tb = new_tb; in kvmhv_vcpu_entry_p9()
852 u64 new_tb = *tb - vc->tb_offset_applied; in kvmhv_vcpu_entry_p9() local
853 mtspr(SPRN_TBU40, new_tb); in kvmhv_vcpu_entry_p9()
854 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmhv_vcpu_entry_p9()
855 new_tb += 0x1000000; in kvmhv_vcpu_entry_p9()
[all …]