Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/tm/
A 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()
/linux/tools/testing/selftests/powerpc/ptrace/
A 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()
/linux/arch/powerpc/kvm/
A Dbook3s_hv_tm_builtin.c116 vcpu->arch.regs.nip = vcpu->arch.tfhar; in kvmhv_emulate_tm_rollback()
A Dbook3s_pr.c340 vcpu->arch.tfhar = mfspr(SPRN_TFHAR); in kvmppc_save_tm_sprs()
349 mtspr(SPRN_TFHAR, vcpu->arch.tfhar); in kvmppc_restore_tm_sprs()
1553 *val = get_reg_val(id, vcpu->arch.tfhar); in kvmppc_get_one_reg_pr()
1653 vcpu->arch.tfhar = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
A Dbook3s_emulate.c512 vcpu->arch.tfhar = kvmppc_get_pc(vcpu) + 4; in kvmppc_core_emulate_op_pr()
A Dbook3s_hv.c2173 *val = get_reg_val(id, vcpu->arch.tfhar); in kvmppc_get_one_reg_hv()
2427 vcpu->arch.tfhar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/linux/arch/powerpc/include/asm/
A Dkvm_host.h640 u64 tfhar; member
/linux/arch/powerpc/kernel/
A Dasm-offsets.c503 OFFSET(VCPU_TFHAR, kvm_vcpu, arch.tfhar); in main()

Completed in 24 milliseconds