Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kernel/
Dsignal_32.c918 unsigned long new_msr = 0; in COMPAT_SYSCALL_DEFINE3() local
932 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
946 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
1113 unsigned long new_msr = regs->msr; in SYSCALL_DEFINE3() local
1125 new_msr |= MSR_DE; in SYSCALL_DEFINE3()
1131 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
1137 new_msr |= MSR_SE; in SYSCALL_DEFINE3()
1139 new_msr &= ~MSR_SE; in SYSCALL_DEFINE3()
1147 new_msr |= MSR_BE; in SYSCALL_DEFINE3()
1149 new_msr &= ~MSR_BE; in SYSCALL_DEFINE3()
[all …]
Dprocess.c521 unsigned long new_msr = 0; in restore_math() local
531 new_msr |= MSR_FP; in restore_math()
534 new_msr |= MSR_VEC; in restore_math()
537 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
538 new_msr |= MSR_VSX; in restore_math()
541 if (new_msr) { in restore_math()
544 msr_check_and_set(new_msr); in restore_math()
546 if (new_msr & MSR_FP) { in restore_math()
553 if (new_msr & MSR_VEC) in restore_math()
556 if (new_msr & MSR_VSX) in restore_math()
[all …]
Dsignal_64.c639 unsigned long new_msr = 0; in SYSCALL_DEFINE3() local
643 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
656 (new_msr & MSR_VSX)) in SYSCALL_DEFINE3()
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c774 unsigned long msr, pc, new_msr, new_pc; in inject_interrupt() local
778 new_msr = vcpu->arch.intr_msr; in inject_interrupt()
783 new_msr |= MSR_TS_S; in inject_interrupt()
785 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
798 new_msr |= MSR_IR | MSR_DR; in inject_interrupt()
805 vcpu->arch.shregs.msr = new_msr; in inject_interrupt()
Dbooke.h65 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr);
Dbook3s_emulate.c305 ulong new_msr = kvmppc_get_msr(vcpu); in kvmppc_core_emulate_op_pr() local
306 new_msr &= ~(MSR_RI | MSR_EE); in kvmppc_core_emulate_op_pr()
307 new_msr |= rs_val & (MSR_RI | MSR_EE); in kvmppc_core_emulate_op_pr()
308 kvmppc_set_msr_fast(vcpu, new_msr); in kvmppc_core_emulate_op_pr()
Dbooke.c229 void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr) in kvmppc_set_msr() argument
234 new_msr |= MSR_GS; in kvmppc_set_msr()
237 vcpu->arch.shared->msr = new_msr; in kvmppc_set_msr()
397 ulong new_msr = vcpu->arch.shared->msr; in kvmppc_booke_irqprio_deliver() local
516 new_msr &= msr_mask; in kvmppc_booke_irqprio_deliver()
519 new_msr |= MSR_CM; in kvmppc_booke_irqprio_deliver()
521 kvmppc_set_msr(vcpu, new_msr); in kvmppc_booke_irqprio_deliver()
Dbook3s_pr.c108 unsigned long msr, pc, new_msr, new_pc; in kvmppc_inject_interrupt_pr() local
114 new_msr = vcpu->arch.intr_msr; in kvmppc_inject_interrupt_pr()
120 new_msr |= MSR_TS_S; in kvmppc_inject_interrupt_pr()
122 new_msr |= msr & MSR_TS_MASK; in kvmppc_inject_interrupt_pr()
128 kvmppc_set_msr(vcpu, new_msr); in kvmppc_inject_interrupt_pr()
/Linux-v5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c701 int put_msr(int cpu, int offset, unsigned long long new_msr) in put_msr() argument
712 retval = pwrite(fd, &new_msr, sizeof(new_msr), offset); in put_msr()
713 if (retval != sizeof(new_msr)) in put_msr()
714 err(-2, "pwrite(cpu%d, offset 0x%x, 0x%llx) = %d", cpu, offset, new_msr, retval); in put_msr()
719 fprintf(stderr, "put_msr(cpu%d, 0x%X, 0x%llX)\n", cpu, offset, new_msr); in put_msr()
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_book3s.h148 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);