Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_builtin.c520 unsigned long msr, pc, new_msr, new_pc; in inject_interrupt() local
524 new_msr = vcpu->arch.intr_msr; in inject_interrupt()
529 new_msr |= MSR_TS_S; in inject_interrupt()
531 new_msr |= msr & MSR_TS_MASK; in inject_interrupt()
544 new_msr |= MSR_IR | MSR_DR; in inject_interrupt()
551 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()
/linux-6.1.9/arch/powerpc/kernel/
Dsignal_32.c998 unsigned long new_msr = 0; in COMPAT_SYSCALL_DEFINE3() local
1012 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1026 (new_msr & MSR_VSX)) in COMPAT_SYSCALL_DEFINE3()
1196 unsigned long new_msr = regs->msr; in SYSCALL_DEFINE3() local
1208 new_msr |= MSR_DE; in SYSCALL_DEFINE3()
1214 new_msr &= ~MSR_DE; in SYSCALL_DEFINE3()
1220 new_msr |= MSR_SE; in SYSCALL_DEFINE3()
1222 new_msr &= ~MSR_SE; in SYSCALL_DEFINE3()
1230 new_msr |= MSR_BE; in SYSCALL_DEFINE3()
1232 new_msr &= ~MSR_BE; in SYSCALL_DEFINE3()
[all …]
Dprocess.c520 unsigned long new_msr = 0; in restore_math() local
530 new_msr |= MSR_FP; in restore_math()
533 new_msr |= MSR_VEC; in restore_math()
536 if (((msr | new_msr) & (MSR_FP | MSR_VEC)) == (MSR_FP | MSR_VEC)) in restore_math()
537 new_msr |= MSR_VSX; in restore_math()
540 if (new_msr) { in restore_math()
543 msr_check_and_set(new_msr); in restore_math()
545 if (new_msr & MSR_FP) { in restore_math()
552 if (new_msr & MSR_VEC) in restore_math()
555 if (new_msr & MSR_VSX) in restore_math()
[all …]
Dsignal_64.c661 unsigned long new_msr = 0; in SYSCALL_DEFINE3() local
665 get_user(new_msr, &new_ctx->uc_mcontext.gp_regs[PT_MSR])) in SYSCALL_DEFINE3()
678 (new_msr & MSR_VSX)) in SYSCALL_DEFINE3()
/linux-6.1.9/tools/power/x86/x86_energy_perf_policy/
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-6.1.9/arch/powerpc/include/asm/
Dkvm_book3s.h148 extern void kvmppc_set_msr(struct kvm_vcpu *vcpu, u64 new_msr);