Home
last modified time | relevance | path

Searched refs:vrsave (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/crypto/vmx/
Dghashp8-ppc.pl49 my $vrsave="r12";
59 mfspr $vrsave,256
97 mtspr 256,$vrsave
107 mfspr $vrsave,256
145 mtspr 256,$vrsave
155 mfspr $vrsave,256
212 mtspr 256,$vrsave
Daesp8-ppc.pl57 $vrsave="r12";
106 mfspr $vrsave,256
337 mtspr 256,$vrsave
406 mfspr $vrsave,256
462 mtspr 256,$vrsave
486 mfspr $vrsave,256
633 mtspr 256,$vrsave
678 stw $vrsave,`$FRAME+21*16-4`($sp) # save vrsave
1190 mtspr 256,$vrsave
1242 mfspr $vrsave,256
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dsignal_64.c129 current->thread.vrsave = mfspr(SPRN_VRSAVE); in setup_sigcontext()
130 err |= __put_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); in setup_sigcontext()
245 current->thread.vrsave = mfspr(SPRN_VRSAVE); in setup_tm_sigcontexts()
246 err |= __put_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); in setup_tm_sigcontexts()
251 err |= __put_user(current->thread.vrsave, in setup_tm_sigcontexts()
382 err |= __get_user(current->thread.vrsave, (u32 __user *)&v_regs[33]); in restore_sigcontext()
384 current->thread.vrsave = 0; in restore_sigcontext()
386 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_sigcontext()
510 err |= __get_user(current->thread.vrsave, in restore_tm_sigcontexts()
516 current->thread.vrsave = 0; in restore_tm_sigcontexts()
[all …]
Dptrace.c456 } vrsave; in vr_get() local
457 memset(&vrsave, 0, sizeof(vrsave)); in vr_get()
458 vrsave.word = target->thread.vrsave; in vr_get()
459 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
487 } vrsave; in vr_set() local
488 memset(&vrsave, 0, sizeof(vrsave)); in vr_set()
489 vrsave.word = target->thread.vrsave; in vr_set()
490 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
493 target->thread.vrsave = vrsave.word; in vr_set()
Dsignal_32.c441 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs()
442 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
576 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_tm_user_regs()
577 if (__put_user(current->thread.vrsave, in save_tm_user_regs()
585 if (__put_user(current->thread.vrsave, in save_tm_user_regs()
715 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs()
718 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs()
828 if (__get_user(current->thread.vrsave, in restore_tm_user_regs()
834 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_tm_user_regs()
Dasm-offsets.c101 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave)); in main()
440 DEFINE(VCPU_VRSAVE, offsetof(struct kvm_vcpu, arch.vrsave)); in main()
Dprocess.c1318 current->thread.vrsave = 0; in start_thread()
/linux-4.4.14/arch/powerpc/kvm/
Dpowerpc.c707 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
716 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put()
932 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg()
987 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
Dbooke.c1493 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base()
1507 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base()
1673 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg()
1742 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dbook3s_pr.c1468 unsigned long uninitialized_var(vrsave); in kvmppc_vcpu_run_pr()
/linux-4.4.14/Documentation/powerpc/
Dcpu_features.txt39 mfspr r22,SPRN_VRSAVE /* if G4, save vrsave register value */
/linux-4.4.14/arch/powerpc/include/asm/
Dprocessor.h248 unsigned long vrsave; member
Dkvm_host.h502 u32 vrsave; /* also USPRG0 */ member
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dkvm.h245 __u32 vrsave; /* a.k.a. USPRG0 */ member