Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/vmx/
Dghashp8-ppc.pl58 my $vrsave="r12";
68 mfspr $vrsave,256
106 mtspr 256,$vrsave
116 mfspr $vrsave,256
154 mtspr 256,$vrsave
164 mfspr $vrsave,256
221 mtspr 256,$vrsave
Daesp8-ppc.pl116 $vrsave="r12";
165 mfspr $vrsave,256
396 mtspr 256,$vrsave
465 mfspr $vrsave,256
521 mtspr 256,$vrsave
545 mfspr $vrsave,256
692 mtspr 256,$vrsave
737 stw $vrsave,`$FRAME+21*16-4`($sp) # save vrsave
1249 mtspr 256,$vrsave
1319 mfspr $vrsave,256
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dsignal_64.c105 unsigned long vrsave; in setup_sigcontext() local
132 vrsave = 0; in setup_sigcontext()
134 vrsave = mfspr(SPRN_VRSAVE); in setup_sigcontext()
135 tsk->thread.vrsave = vrsave; in setup_sigcontext()
138 err |= __put_user(vrsave, (u32 __user *)&v_regs[33]); in setup_sigcontext()
265 err |= __put_user(tsk->thread.vrsave, in setup_tm_sigcontexts()
394 err |= __get_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33]); in restore_sigcontext()
396 tsk->thread.vrsave = 0; in restore_sigcontext()
398 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in restore_sigcontext()
521 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts()
[all …]
Dptrace.c575 } vrsave; in vr_get() local
576 memset(&vrsave, 0, sizeof(vrsave)); in vr_get()
578 vrsave.word = target->thread.vrsave; in vr_get()
581 end = start + sizeof(vrsave); in vr_get()
582 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
625 } vrsave; in vr_set() local
626 memset(&vrsave, 0, sizeof(vrsave)); in vr_set()
628 vrsave.word = target->thread.vrsave; in vr_set()
631 end = start + sizeof(vrsave); in vr_set()
632 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
[all …]
Dsignal_32.c416 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs()
417 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
554 if (__put_user(current->thread.vrsave, in save_tm_user_regs()
679 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs()
682 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs()
790 __get_user(current->thread.vrsave, in restore_tm_user_regs()
Dprocess.c1055 t->vrsave = mfspr(SPRN_VRSAVE); in save_sprs()
1086 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1087 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1797 current->thread.vrsave = 0; in start_thread()
Dasm-offsets.c118 OFFSET(THREAD_VRSAVE, thread_struct, vrsave); in main()
438 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_book3s_64.h602 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in copy_from_checkpoint()
619 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in copy_to_checkpoint()
Dprocessor.h188 unsigned long vrsave; member
Dkvm_host.h601 u32 vrsave; /* also USPRG0 */ member
/Linux-v5.4/Documentation/powerpc/
Dcpu_features.rst43 mfspr r22,SPRN_VRSAVE /* if G4, save vrsave register value */
/Linux-v5.4/arch/powerpc/kvm/
Dbooke.c1507 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base()
1521 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base()
1699 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg()
1768 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dbook3s_emulate.c104 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in kvmppc_copyto_vcpu_tm()
123 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in kvmppc_copyfrom_vcpu_tm()
Dpowerpc.c810 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
819 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put()
1701 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg()
1756 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
Dbook3s_pr.c1807 unsigned long uninitialized_var(vrsave); in kvmppc_vcpu_run_pr()
Dbook3s_hv.c3564 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvmhv_p9_guest_entry()
3669 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvmhv_p9_guest_entry()
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dkvm.h255 __u32 vrsave; /* a.k.a. USPRG0 */ member
/Linux-v5.4/tools/arch/powerpc/include/uapi/asm/
Dkvm.h255 __u32 vrsave; /* a.k.a. USPRG0 */ member