Home
last modified time | relevance | path

Searched refs:new_msr (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_builtin.c603 unsigned long msr, pc, new_msr, new_pc; in inject_interrupt() local
607 new_msr = vcpu->arch.intr_msr; in inject_interrupt()
612 new_msr |= MSR_TS_S; in inject_interrupt()
614 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
627 new_msr |= MSR_IR | MSR_DR; in inject_interrupt()
634 vcpu->arch.shregs.msr = new_msr; in inject_interrupt()
Dbooke.h65 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr);
Dbook3s_emulate.c301 ulong new_msr = kvmppc_get_msr(vcpu); in kvmppc_core_emulate_op_pr() local
302 new_msr &= ~(MSR_RI | MSR_EE); in kvmppc_core_emulate_op_pr()
303 new_msr |= rs_val & (MSR_RI | MSR_EE); in kvmppc_core_emulate_op_pr()
304 kvmppc_set_msr_fast(vcpu, new_msr); in kvmppc_core_emulate_op_pr()
Dbooke.c255 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr) in kvmppc_set_msr() argument
260 new_msr |= MSR_GS; in kvmppc_set_msr()
263 vcpu->arch.shared->msr = new_msr; in kvmppc_set_msr()
423 ulong new_msr = vcpu->arch.shared->msr; in kvmppc_booke_irqprio_deliver() local
542 new_msr &= msr_mask; in kvmppc_booke_irqprio_deliver()
545 new_msr |= MSR_CM; in kvmppc_booke_irqprio_deliver()
547 kvmppc_set_msr(vcpu, new_msr); in kvmppc_booke_irqprio_deliver()
Dbook3s_pr.c109 unsigned long msr, pc, new_msr, new_pc; in kvmppc_inject_interrupt_pr() local
115 new_msr = vcpu->arch.intr_msr; in kvmppc_inject_interrupt_pr()
121 new_msr |= MSR_TS_S; in kvmppc_inject_interrupt_pr()
123 new_msr |= msr & MSR_TS_MASK; in kvmppc_inject_interrupt_pr()
129 kvmppc_set_msr(vcpu, new_msr); in kvmppc_inject_interrupt_pr()
/arch/powerpc/kernel/
Dsignal_32.c991 unsigned long new_msr = 0; in COMPAT_SYSCALL_DEFINE3() local
1005 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1019 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
1189 unsigned long new_msr = regs->msr; in SYSCALL_DEFINE3() local
1201 new_msr |= MSR_DE; in SYSCALL_DEFINE3()
1207 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
1213 new_msr |= MSR_SE; in SYSCALL_DEFINE3()
1215 new_msr &= ~MSR_SE; in SYSCALL_DEFINE3()
1223 new_msr |= MSR_BE; in SYSCALL_DEFINE3()
1225 new_msr &= ~MSR_BE; in SYSCALL_DEFINE3()
[all …]
Dprocess.c523 unsigned long new_msr = 0; in restore_math() local
533 new_msr |= MSR_FP; in restore_math()
536 new_msr |= MSR_VEC; in restore_math()
539 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
540 new_msr |= MSR_VSX; in restore_math()
543 if (new_msr) { in restore_math()
546 msr_check_and_set(new_msr); in restore_math()
548 if (new_msr & MSR_FP) { in restore_math()
555 if (new_msr & MSR_VEC) in restore_math()
558 if (new_msr & MSR_VSX) in restore_math()
[all …]
Dsignal_64.c653 unsigned long new_msr = 0; in SYSCALL_DEFINE3() local
657 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
670 (new_msr & MSR_VSX)) in SYSCALL_DEFINE3()
/arch/powerpc/include/asm/
Dkvm_book3s.h148 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);