Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c23 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
29 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early()
31 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
33 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
34 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
65 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation_early()
68 if (!(MSR_TM_TRANSACTIONAL(newmsr) && (newmsr & MSR_TM))) in kvmhv_p9_tm_emulation_early()
71 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation_early()
72 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation_early()
73 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c44 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
50 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation()
53 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
54 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
55 newmsr = sanitize_msr(newmsr); in kvmhv_p9_tm_emulation()
56 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation()
97 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation()
100 MSR_TM_TRANSACTIONAL(newmsr) && in kvmhv_p9_tm_emulation()
101 (newmsr & MSR_TM))); in kvmhv_p9_tm_emulation()
103 newmsr = (newmsr & ~MSR_LE) | (msr & MSR_LE); in kvmhv_p9_tm_emulation()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dprocess.c124 unsigned long newmsr; in msr_check_and_set() local
126 newmsr = oldmsr | bits; in msr_check_and_set()
130 newmsr |= MSR_VSX; in msr_check_and_set()
133 if (oldmsr != newmsr) in msr_check_and_set()
134 mtmsr_isync(newmsr); in msr_check_and_set()
136 return newmsr; in msr_check_and_set()
144 unsigned long newmsr; in __msr_check_and_clear() local
146 newmsr = oldmsr & ~bits; in __msr_check_and_clear()
150 newmsr &= ~MSR_VSX; in __msr_check_and_clear()
153 if (oldmsr != newmsr) in __msr_check_and_clear()
[all …]