Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c26 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
32 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
34 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
36 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
37 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
68 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation_early()
71 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
74 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
75 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
76 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c47 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
53 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
56 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
57 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
58 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation()
59 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation()
100 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation()
103 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
104 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
106 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dprocess.c143 unsigned long newmsr; in msr_check_and_set() local
145 newmsr = oldmsr | bits; in msr_check_and_set()
149 newmsr |= MSR_VSX; in msr_check_and_set()
152 if (oldmsr != newmsr) in msr_check_and_set()
153 mtmsr_isync(newmsr); in msr_check_and_set()
155 return newmsr; in msr_check_and_set()
162 unsigned long newmsr; in __msr_check_and_clear() local
164 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
168 newmsr &= ~MSR_VSX; in __msr_check_and_clear()
171 if (oldmsr != newmsr) in __msr_check_and_clear()
[all …]