Searched refs:texasr (Results 1 – 6 of 6) sorted by relevance
18 u64 texasr, tfiar; in emulate_tx_failure() local22 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()
126 uint64_t texasr; in kvmppc_emulate_treclaim() local135 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()142 texasr |= ((u64)fc_val << TEXASR_FC_LG) | TEXASR_FS; in kvmppc_emulate_treclaim()144 texasr &= ~(TEXASR_PR | TEXASR_HV); 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()[all …]
341 vcpu->arch.texasr = mfspr(SPRN_TEXASR); in kvmppc_save_tm_sprs()350 mtspr(SPRN_TEXASR, vcpu->arch.texasr); in kvmppc_restore_tm_sprs()1559 *val = get_reg_val(id, vcpu->arch.texasr); in kvmppc_get_one_reg_pr()1659 vcpu->arch.texasr = set_reg_val(id, *val); in kvmppc_set_one_reg_pr()
2178 *val = get_reg_val(id, vcpu->arch.texasr); in kvmppc_get_one_reg_hv()2432 vcpu->arch.texasr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
641 u64 texasr; member
507 OFFSET(VCPU_TEXASR, kvm_vcpu, arch.texasr); in main()