Home
last modified time | relevance | path

Searched refs:tfhar (Results 1 – 8 of 8) 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
50 tfhar = ((unsigned long)in); in tfiar_tfhar()
51 tfhar &= ~0x3UL; in tfiar_tfhar()
52 tfhar += 4; in tfiar_tfhar()
53 mtspr(SPRN_TFHAR, tfhar); in tfiar_tfhar()
58 if ( (tfhar != tfhar_rd) || (tfiar != tfiar_rd) ) { in tfiar_tfhar()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c15 unsigned long tfhar; variable
26 FAIL_IF(regs->tm_tfhar != tfhar); in validate_tm_spr()
72 : [tfhar] "=r" (tfhar), [res] "=r" (result), in tm_spr()
79 tfhar += 12; in tm_spr()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c116 vcpu->arch.regs.nip = vcpu->arch.tfhar; in kvmhv_emulate_tm_rollback()
Dbook3s_pr.c339 vcpu->arch.tfhar = mfspr(SPRN_TFHAR); in kvmppc_save_tm_sprs()
348 mtspr(SPRN_TFHAR, vcpu->arch.tfhar); in kvmppc_restore_tm_sprs()
1574 *val = get_reg_val(id, vcpu->arch.tfhar); in kvmppc_get_one_reg_pr()
1674 vcpu->arch.tfhar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
Dbook3s_emulate.c516 vcpu->arch.tfhar = kvmppc_get_pc(vcpu) + 4; in kvmppc_core_emulate_op_pr()
Dbook3s_hv.c1812 *val = get_reg_val(id, vcpu->arch.tfhar); in kvmppc_get_one_reg_hv()
2060 vcpu->arch.tfhar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h651 u64 tfhar; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c608 OFFSET(VCPU_TFHAR, kvm_vcpu, arch.tfhar); in main()