Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c156 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_emulate_treclaim()
158 mtspr(SPRN_TFIAR, vcpu->arch.tfiar); in kvmppc_emulate_treclaim()
230 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_emulate_tabort()
517 vcpu->arch.tfiar = kvmppc_get_pc(vcpu); in kvmppc_core_emulate_op_pr()
Dbook3s_pr.c341 vcpu->arch.tfiar = mfspr(SPRN_TFIAR); in kvmppc_save_tm_sprs()
350 mtspr(SPRN_TFIAR, vcpu->arch.tfiar); in kvmppc_restore_tm_sprs()
1577 *val = get_reg_val(id, vcpu->arch.tfiar); in kvmppc_get_one_reg_pr()
1677 vcpu->arch.tfiar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
Dbook3s_hv.c1815 *val = get_reg_val(id, vcpu->arch.tfiar); in kvmppc_get_one_reg_hv()
2063 vcpu->arch.tfiar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h653 u64 tfiar; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c609 OFFSET(VCPU_TFIAR, kvm_vcpu, arch.tfiar); in main()