Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_tm.c101 msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation()
145 (((msr & MSR_TS_MASK) >> MSR_TS_S_LG) << 29); in kvmhv_p9_tm_emulation()
149 msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation()
152 msr = (msr & ~MSR_TS_MASK) | MSR_TS_S; in kvmhv_p9_tm_emulation()
190 (((msr & MSR_TS_MASK) >> MSR_TS_S_LG) << 29); in kvmhv_p9_tm_emulation()
191 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; in kvmhv_p9_tm_emulation()
221 (((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.c765 if ((msr & MSR_TS_MASK) == MSR_TS_MASK) in kvmppc_set_msr_hv()
766 msr &= ~MSR_TS_MASK; in kvmppc_set_msr_hv()
785 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
Dbook3s_emulate.c134 (((guest_msr & MSR_TS_MASK) >> (MSR_TS_S_LG - 1)) in kvmppc_emulate_treclaim()
164 guest_msr &= ~(MSR_TS_MASK); in kvmppc_emulate_treclaim()
189 guest_msr &= ~(MSR_TS_MASK); in kvmppc_emulate_trchkpt()
213 (((guest_msr & MSR_TS_MASK) >> (MSR_TS_S_LG - 1)) in kvmppc_emulate_tabort()
Dbook3s_pr.c122 new_msr |= msr & MSR_TS_MASK; in kvmppc_inject_interrupt_pr()
232 MSR_TM | MSR_TS_MASK; in kvmppc_recalc_shadow_msr()
320 (vcpu->arch.shadow_srr1 & (MSR_TS_MASK)) != in kvmppc_copy_from_svcpu()
321 (old_msr & (MSR_TS_MASK)))) { in kvmppc_copy_from_svcpu()
322 old_msr &= ~(MSR_TS_MASK); in kvmppc_copy_from_svcpu()
323 old_msr |= (vcpu->arch.shadow_srr1 & (MSR_TS_MASK)); in kvmppc_copy_from_svcpu()
Dbook3s_hv_nested.c271 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
273 if (WARN_ON_ONCE(vcpu->arch.shregs.msr & MSR_TS_MASK)) in kvmhv_enter_nested_guest()
330 vcpu->arch.shregs.msr = saved_l1_regs.msr & ~MSR_TS_MASK; in kvmhv_enter_nested_guest()
332 if (l2_regs.msr & MSR_TS_MASK) in kvmhv_enter_nested_guest()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dreg.h122 #define MSR_TS_MASK (MSR_TS_T | MSR_TS_S) /* Transaction State bits */ macro
123 #define MSR_TM_RESV(x) (((x) & MSR_TS_MASK) == MSR_TS_MASK) /* Reserved */
124 #define MSR_TM_TRANSACTIONAL(x) (((x) & MSR_TS_MASK) == MSR_TS_T)
125 #define MSR_TM_SUSPENDED(x) (((x) & MSR_TS_MASK) == MSR_TS_S)
128 #define MSR_TM_ACTIVE(x) (((x) & MSR_TS_MASK) != 0) /* Transaction active? */
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsignal_64.c557 regs->msr |= msr & MSR_TS_MASK; in restore_tm_sigcontexts()
760 regs->msr &= ~MSR_TS_MASK; in SYSCALL_DEFINE0()
792 current->thread.regs->msr &= ~MSR_TS_MASK; in SYSCALL_DEFINE0()
Dsignal_32.c711 regs->msr = (regs->msr & ~MSR_TS_MASK) | (msr_hi & MSR_TS_MASK); in restore_tm_user_regs()
1069 regs->msr &= ~MSR_TS_MASK; in COMPAT_SYSCALL_DEFINE0()
Dsignal.c376 tsk->thread.regs->msr &= ~MSR_TS_MASK; in get_tm_stackpointer()
Dtm.S476 li r5, (MSR_TS_MASK)@higher