Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kvm/ !
Dbook3s_hv_ras.c156 u64 new_tb = mftb() - vc->tb_offset_applied; in kvmppc_p9_realmode_hmi_handler() local
157 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
158 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
159 new_tb += 0x1000000; in kvmppc_p9_realmode_hmi_handler()
160 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
177 u64 new_tb = mftb() + vc->tb_offset; in kvmppc_p9_realmode_hmi_handler() local
178 mtspr(SPRN_TBU40, new_tb); in kvmppc_p9_realmode_hmi_handler()
179 if ((mftb() & 0xffffff) < (new_tb & 0xffffff)) { in kvmppc_p9_realmode_hmi_handler()
180 new_tb += 0x1000000; in kvmppc_p9_realmode_hmi_handler()
181 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 …]