Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c41 unsigned long tfhar, tfhar_rd, tfiar, tfiar_rd; in tfiar_tfhar() local
45 tfiar = ((unsigned long)in) + 1; in tfiar_tfhar()
46 tfiar += 2; in tfiar_tfhar()
47 mtspr(SPRN_TFIAR, tfiar); in tfiar_tfhar()
58 if ( (tfhar != tfhar_rd) || (tfiar != tfiar_rd) ) { in tfiar_tfhar()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_tm.c18 u64 texasr, tfiar; in emulate_tx_failure() local
21 tfiar = vcpu->arch.regs.nip & ~0x3ull; in emulate_tx_failure()
27 tfiar |= 1; in emulate_tx_failure()
29 vcpu->arch.tfiar = tfiar; in emulate_tx_failure()
Dbook3s_emulate.c152 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_emulate_treclaim()
154 mtspr(SPRN_TFIAR, vcpu->arch.tfiar); in kvmppc_emulate_treclaim()
226 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_emulate_tabort()
513 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_core_emulate_op_pr()
Dbook3s_pr.c348 vcpu->arch.tfiar = mfspr(SPRN_TFIAR); in kvmppc_save_tm_sprs()
357 mtspr(SPRN_TFIAR, vcpu->arch.tfiar); in kvmppc_restore_tm_sprs()
1560 *val = get_reg_val(id, vcpu->arch.tfiar); in kvmppc_get_one_reg_pr()
1660 vcpu->arch.tfiar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
Dbook3s_hv_p9_entry.c101 mtspr(SPRN_TFIAR, vcpu->arch.tfiar); in load_vcpu_state()
135 vcpu->arch.tfiar = mfspr(SPRN_TFIAR); in store_vcpu_state()
Dbook3s_hv.c2428 *val = get_reg_val(id, vcpu->arch.tfiar); in kvmppc_get_one_reg_hv()
2711 vcpu->arch.tfiar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_host.h673 u64 tfiar; member
/linux-6.12.1/arch/powerpc/kernel/
Dasm-offsets.c500 OFFSET(VCPU_TFIAR, kvm_vcpu, arch.tfiar); in main()