/linux-6.3-rc2/tools/testing/selftests/powerpc/tm/ |
A D | tm-vmx-unavail.c | 29 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 D | tm-resched-dscr.c | 40 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 D | tm-tmspr.c | 66 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 D | ptrace.h | 755 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 D | ptrace-tm-gpr.c | 22 unsigned long result, texasr; in tm_gpr() local 56 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_gpr()
|
A D | ptrace-tm-spr.c | 34 unsigned long result, texasr; in tm_spr() local 73 [texasr] "=r" (texasr), [cptr1] "=b" (cptr1) in tm_spr()
|
A D | ptrace-tm-spd-gpr.c | 30 unsigned long result, texasr; in tm_spd_gpr() local 64 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_gpr()
|
A D | ptrace-tm-spd-tar.c | 23 unsigned long result, texasr; in tm_spd_tar() local 70 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_tar()
|
A D | ptrace-tm-tar.c | 17 unsigned long result, texasr; in tm_tar() local 60 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_tar()
|
A D | ptrace-tm-spd-vsx.c | 44 unsigned long result, texasr; in tm_spd_vsx() local 75 : [res] "=r" (result), [texasr] "=r" (texasr) in tm_spd_vsx()
|
A D | ptrace-tm-vsx.c | 31 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 D | book3s_hv_tm.c | 18 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 D | book3s_emulate.c | 126 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 D | book3s_pr.c | 347 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 D | book3s_hv_p9_entry.c | 99 mtspr(SPRN_TEXASR, vcpu->arch.texasr); in load_vcpu_state() 133 vcpu->arch.texasr = mfspr(SPRN_TEXASR); in store_vcpu_state()
|
A D | book3s_hv.c | 2343 *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 D | kvm_host.h | 653 u64 texasr; member
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | asm-offsets.c | 498 OFFSET(VCPU_TEXASR, kvm_vcpu, arch.texasr); in main()
|