Home
last modified time | relevance | path

Searched refs:MSR_TS_MASK (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_tm.c111 msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation()
157 (((msr & MSR_TS_MASK) >> MSR_TS_S_LG) << 29); in kvmhv_p9_tm_emulation()
161 msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation()
164 msr = (msr & ~MSR_TS_MASK) | MSR_TS_S; in kvmhv_p9_tm_emulation()
204 (((msr & MSR_TS_MASK) >> MSR_TS_S_LG) << 29); in kvmhv_p9_tm_emulation()
205 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; in kvmhv_p9_tm_emulation()
237 (((msr & MSR_TS_MASK) >> MSR_TS_S_LG) << 29); in kvmhv_p9_tm_emulation()
Dbook3s_hv_tm_builtin.c67 msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation_early()
99 vcpu->arch.shregs.msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation_early()
115 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; /* go to N state */ in kvmhv_emulate_tm_rollback()
Dbook3s_hv_builtin.c511 if ((msr & MSR_TS_MASK) == MSR_TS_MASK) in kvmppc_set_msr_hv()
512 msr &= ~MSR_TS_MASK; in kvmppc_set_msr_hv()
531 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
Dbook3s_emulate.c130 (((guest_msr & MSR_TS_MASK) >> (MSR_TS_S_LG - 1)) in kvmppc_emulate_treclaim()
160 guest_msr &= ~(MSR_TS_MASK); in kvmppc_emulate_treclaim()
185 guest_msr &= ~(MSR_TS_MASK); in kvmppc_emulate_trchkpt()
209 (((guest_msr & MSR_TS_MASK) >> (MSR_TS_S_LG - 1)) in kvmppc_emulate_tabort()
Dbook3s_pr.c123 new_msr |= msr & MSR_TS_MASK; in kvmppc_inject_interrupt_pr()
239 MSR_TM | MSR_TS_MASK; in kvmppc_recalc_shadow_msr()
327 (vcpu->arch.shadow_srr1 & (MSR_TS_MASK)) != in kvmppc_copy_from_svcpu()
328 (old_msr & (MSR_TS_MASK)))) { in kvmppc_copy_from_svcpu()
329 old_msr &= ~(MSR_TS_MASK); in kvmppc_copy_from_svcpu()
330 old_msr |= (vcpu->arch.shadow_srr1 & (MSR_TS_MASK)); in kvmppc_copy_from_svcpu()
Dbook3s_hv_nested.c337 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
339 if (WARN_ON_ONCE(vcpu->arch.shregs.msr & MSR_TS_MASK)) in kvmhv_enter_nested_guest()
393 vcpu->arch.shregs.msr = saved_l1_regs.msr & ~MSR_TS_MASK; in kvmhv_enter_nested_guest()
395 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
Dbook3s_hv_p9_entry.c872 vcpu->arch.shregs.msr & MSR_TS_MASK) in kvmhv_vcpu_entry_p9()
/linux-6.1.9/arch/powerpc/include/asm/
Dreg.h119 #define MSR_TS_MASK (MSR_TS_T | MSR_TS_S) /* Transaction State bits */ macro
120 #define MSR_TM_RESV(x) (((x) & MSR_TS_MASK) == MSR_TS_MASK) /* Reserved */
121 #define MSR_TM_TRANSACTIONAL(x) (((x) & MSR_TS_MASK) == MSR_TS_T)
122 #define MSR_TM_SUSPENDED(x) (((x) & MSR_TS_MASK) == MSR_TS_S)
125 #define MSR_TM_ACTIVE(x) (((x) & MSR_TS_MASK) != 0) /* Transaction active? */
/linux-6.1.9/arch/powerpc/kernel/
Dsignal_64.c576 regs_set_return_msr(regs, regs->msr | (msr & MSR_TS_MASK)); in restore_tm_sigcontexts()
798 regs_set_return_msr(regs, regs->msr & ~MSR_TS_MASK); in SYSCALL_DEFINE0()
831 current->thread.regs->msr & ~MSR_TS_MASK); in SYSCALL_DEFINE0()
Dsignal_32.c685 regs_set_return_msr(regs, (regs->msr & ~MSR_TS_MASK) | (msr_hi & MSR_TS_MASK)); in restore_tm_user_regs()
1157 regs_set_return_msr(regs, regs->msr & ~MSR_TS_MASK); in COMPAT_SYSCALL_DEFINE0()
Dsignal.c357 regs_set_return_msr(regs, regs->msr & ~MSR_TS_MASK); in get_tm_stackpointer()
Dtm.S470 li r5, (MSR_TS_MASK)@higher