Home
last modified time | relevance | path

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

/linux/arch/powerpc/kvm/
A Dbook3s_hv_builtin.c602 unsigned long msr, pc, new_msr, new_pc; in inject_interrupt() local
606 new_msr = vcpu->arch.intr_msr; in inject_interrupt()
611 new_msr |= MSR_TS_S; in inject_interrupt()
613 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
626 new_msr |= MSR_IR | MSR_DR; in inject_interrupt()
633 vcpu->arch.shregs.msr = new_msr; in inject_interrupt()
A Dbooke.h65 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr);
A 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()
A 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()
A 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()
/linux/arch/powerpc/kernel/
A Dsignal_32.c988 unsigned long new_msr = 0; in COMPAT_SYSCALL_DEFINE3() local
1002 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1016 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
1186 unsigned long new_msr = regs->msr; in SYSCALL_DEFINE3() local
1198 new_msr |= MSR_DE; in SYSCALL_DEFINE3()
1204 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
1210 new_msr |= MSR_SE; in SYSCALL_DEFINE3()
1212 new_msr &= ~MSR_SE; in SYSCALL_DEFINE3()
1220 new_msr |= MSR_BE; in SYSCALL_DEFINE3()
1222 new_msr &= ~MSR_BE; in SYSCALL_DEFINE3()
[all …]
A 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()
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()
561 msr_check_and_clear(new_msr); in restore_math()
[all …]
A 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()
/linux/tools/power/x86/x86_energy_perf_policy/
A Dx86_energy_perf_policy.c704 int put_msr(int cpu, int offset, unsigned long long new_msr) in put_msr() argument
715 retval = pwrite(fd, &new_msr, sizeof(new_msr), offset); in put_msr()
716 if (retval != sizeof(new_msr)) in put_msr()
717 err(-2, "pwrite(cpu%d, offset 0x%x, 0x%llx) = %d", cpu, offset, new_msr, retval); in put_msr()
722 fprintf(stderr, "put_msr(cpu%d, 0x%X, 0x%llX)\n", cpu, offset, new_msr); in put_msr()
/linux/arch/powerpc/include/asm/
A Dkvm_book3s.h148 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);

Completed in 34 milliseconds