Home
last modified time | relevance | path

Searched refs:texasr (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/powerpc/tm/
A Dtm-vmx-unavail.c29 uint64_t texasr; in worker() local
68 texasr = __builtin_get_texasr(); in worker()
71 printf("Failure with error: %lx\n", _TEXASR_FAILURE_CODE(texasr)); in worker()
72 printf("Summary error : %lx\n", _TEXASR_FAILURE_SUMMARY(texasr)); in worker()
73 printf("TFIAR exact : %lx\n\n", _TEXASR_TFIAR_EXACT(texasr)); in worker()
A Dtm-resched-dscr.c40 uint64_t rv, dscr1 = 1, dscr2, texasr; in test_body() local
74 : [rv]"=r"(rv), [dscr2]"=m"(dscr2), [texasr]"=m"(texasr) in test_body()
80 if ((texasr >> 56) != TM_CAUSE_RESCHED) { in test_body()
A Dtm-tmspr.c66 void texasr(void *in) in texasr() function
116 if (pthread_create(&thread[i], NULL, (void *)texasr, (void *)i)) in test_tmspr()
/linux-6.3-rc2/tools/testing/selftests/powerpc/ptrace/
A Dptrace.h755 if (texasr & TEXASR_FP) in analyse_texasr()
758 if (texasr & TEXASR_DA) in analyse_texasr()
761 if (texasr & TEXASR_NO) in analyse_texasr()
764 if (texasr & TEXASR_FO) in analyse_texasr()
767 if (texasr & TEXASR_SIC) in analyse_texasr()
773 if (texasr & TEXASR_TC) in analyse_texasr()
779 if (texasr & TEXASR_IC) in analyse_texasr()
791 if (texasr & TEXASR_HV) in analyse_texasr()
794 if (texasr & TEXASR_PR) in analyse_texasr()
797 if (texasr & TEXASR_FS) in analyse_texasr()
[all …]
A Dptrace-tm-gpr.c22 unsigned long result, texasr; in tm_gpr() local
56 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_gpr()
A Dptrace-tm-spr.c34 unsigned long result, texasr; in tm_spr() local
73 [texasr] "=r" (texasr), [cptr1] "=b" (cptr1) in tm_spr()
A Dptrace-tm-spd-gpr.c30 unsigned long result, texasr; in tm_spd_gpr() local
64 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_gpr()
A Dptrace-tm-spd-tar.c23 unsigned long result, texasr; in tm_spd_tar() local
70 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_tar()
A Dptrace-tm-tar.c17 unsigned long result, texasr; in tm_tar() local
60 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_tar()
A Dptrace-tm-spd-vsx.c44 unsigned long result, texasr; in tm_spd_vsx() local
75 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_vsx()
A Dptrace-tm-vsx.c31 unsigned long result, texasr; in tm_vsx() local
63 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_vsx()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_tm.c18 u64 texasr, tfiar; in emulate_tx_failure() local
22 texasr = (failure_cause << 56) | TEXASR_ABORT | TEXASR_FS | TEXASR_EXACT; in emulate_tx_failure()
24 texasr |= TEXASR_SUSP; in emulate_tx_failure()
26 texasr |= TEXASR_PR; in emulate_tx_failure()
31 vcpu->arch.texasr = (vcpu->arch.texasr & 0x3ffffff) | texasr; in emulate_tx_failure()
228 if (MSR_TM_ACTIVE(msr) || !(vcpu->arch.texasr & TEXASR_FS)) { in kvmhv_p9_tm_emulation()
A Dbook3s_emulate.c126 uint64_t texasr; in kvmppc_emulate_treclaim() local
135 texasr = mfspr(SPRN_TEXASR); in kvmppc_emulate_treclaim()
140 if (!(texasr & TEXASR_FS)) { in kvmppc_emulate_treclaim()
141 texasr &= ~TEXASR_FC; in kvmppc_emulate_treclaim()
146 texasr |= TEXASR_PR; in kvmppc_emulate_treclaim()
149 texasr |= TEXASR_HV; in kvmppc_emulate_treclaim()
151 vcpu->arch.texasr = texasr; in kvmppc_emulate_treclaim()
153 mtspr(SPRN_TEXASR, texasr); in kvmppc_emulate_treclaim()
584 unsigned long texasr; in kvmppc_core_emulate_op_pr() local
604 texasr = mfspr(SPRN_TEXASR); in kvmppc_core_emulate_op_pr()
[all …]
A Dbook3s_pr.c347 vcpu->arch.texasr = mfspr(SPRN_TEXASR); in kvmppc_save_tm_sprs()
356 mtspr(SPRN_TEXASR, vcpu->arch.texasr); in kvmppc_restore_tm_sprs()
1566 *val = get_reg_val(id, vcpu->arch.texasr); in kvmppc_get_one_reg_pr()
1666 vcpu->arch.texasr = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
A Dbook3s_hv_p9_entry.c99 mtspr(SPRN_TEXASR, vcpu->arch.texasr); in load_vcpu_state()
133 vcpu->arch.texasr = mfspr(SPRN_TEXASR); in store_vcpu_state()
A Dbook3s_hv.c2343 *val = get_reg_val(id, vcpu->arch.texasr); in kvmppc_get_one_reg_hv()
2613 vcpu->arch.texasr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_host.h653 u64 texasr; member
/linux-6.3-rc2/arch/powerpc/kernel/
A Dasm-offsets.c498 OFFSET(VCPU_TEXASR, kvm_vcpu, arch.texasr); in main()

Completed in 34 milliseconds