Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
63 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
66 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
67 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
68 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation()
69 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation()
110 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation()
113 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
114 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
116 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprocess.c123 unsigned long newmsr; in msr_check_and_set() local
125 newmsr = oldmsr | bits; in msr_check_and_set()
128 newmsr |= MSR_VSX; in msr_check_and_set()
130 if (oldmsr != newmsr) in msr_check_and_set()
131 mtmsr_isync(newmsr); in msr_check_and_set()
133 return newmsr; in msr_check_and_set()
141 unsigned long newmsr; in __msr_check_and_clear() local
143 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
146 newmsr &= ~MSR_VSX; in __msr_check_and_clear()
148 if (oldmsr != newmsr) in __msr_check_and_clear()
[all …]