Home
last modified time | relevance | path

Searched refs:newmsr (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c23 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
40 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
42 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
44 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
45 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
76 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation_early()
79 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
82 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
83 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
84 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c46 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
72 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
75 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
76 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
77 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation()
78 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation()
120 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation()
123 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
124 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
126 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
[all …]
/Linux-v6.6/arch/powerpc/kernel/
Dprocess.c122 unsigned long newmsr; in msr_check_and_set() local
124 newmsr = oldmsr | bits; in msr_check_and_set()
127 newmsr |= MSR_VSX; in msr_check_and_set()
129 if (oldmsr != newmsr) in msr_check_and_set()
130 newmsr = mtmsr_isync_irqsafe(newmsr); in msr_check_and_set()
132 return newmsr; in msr_check_and_set()
140 unsigned long newmsr; in __msr_check_and_clear() local
142 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
145 newmsr &= ~MSR_VSX; in __msr_check_and_clear()
147 if (oldmsr != newmsr) in __msr_check_and_clear()
[all …]
/Linux-v6.6/arch/powerpc/kernel/ptrace/
Dptrace-view.c116 unsigned long newmsr = (task->thread.regs->msr & ~MSR_DEBUGCHANGE) | in set_user_msr() local
118 regs_set_return_msr(task->thread.regs, newmsr); in set_user_msr()