Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace-altivec.c49 } vrsave; in vr_get() local
60 memset(&vrsave, 0, sizeof(vrsave)); in vr_get()
61 vrsave.word = target->thread.vrsave; in vr_get()
62 return membuf_write(&to, &vrsave, sizeof(vrsave)); in vr_get()
101 } vrsave; in vr_set() local
102 memset(&vrsave, 0, sizeof(vrsave)); in vr_set()
104 vrsave.word = target->thread.vrsave; in vr_set()
107 end = start + sizeof(vrsave); in vr_set()
108 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
111 target->thread.vrsave = vrsave.word; in vr_set()
A Dptrace-tm.c348 } vrsave; in tm_cvmx_get() local
366 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_get()
367 vrsave.word = target->thread.ckvrsave; in tm_cvmx_get()
368 return membuf_write(&to, &vrsave, sizeof(vrsave)); in tm_cvmx_get()
420 } vrsave; in tm_cvmx_set() local
421 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_set()
422 vrsave.word = target->thread.ckvrsave; in tm_cvmx_set()
423 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in tm_cvmx_set()
426 target->thread.ckvrsave = vrsave.word; in tm_cvmx_set()
/linux-6.3-rc2/drivers/crypto/vmx/
A 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
A 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
1249 mtspr 256,$vrsave
1319 mfspr $vrsave,256
1413 mtspr 256,$vrsave
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsignal_64.c94 tsk->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_setup_sigcontext()
152 unsafe_put_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_setup_sigcontext()
272 err |= __put_user(tsk->thread.vrsave, in setup_tm_sigcontexts()
403 unsafe_get_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_restore_sigcontext()
405 tsk->thread.vrsave = 0; in __unsafe_restore_sigcontext()
407 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in __unsafe_restore_sigcontext()
533 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts()
537 tsk->thread.vrsave = 0; in restore_tm_sigcontexts()
541 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in restore_tm_sigcontexts()
A Dsignal_32.c255 current->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_save_user_regs()
292 unsafe_put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32], in __unsafe_save_user_regs()
409 unsafe_put_user(current->thread.vrsave, in save_tm_user_regs_unsafe()
506 unsafe_get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32], failed); in restore_user_regs()
508 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs()
645 unsafe_get_user(current->thread.vrsave, in restore_tm_user_regs()
A Dprocess.c1160 t->vrsave = mfspr(SPRN_VRSAVE); in save_sprs()
1227 old_thread->vrsave != new_thread->vrsave) in restore_sprs()
1228 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs()
1959 current->thread.vrsave = 0; in start_thread()
A Dasm-offsets.c359 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_p9_entry.c18 current->thread.vrsave != vcpu->arch.vrsave) in load_spr_state()
19 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in load_spr_state()
64 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in store_spr_state()
190 vcpu->arch.vrsave != current->thread.vrsave) in restore_p9_host_os_sprs()
191 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_p9_host_os_sprs()
A Dbooke.c1518 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base()
1532 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base()
1710 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg()
1779 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
A Dbook3s_emulate.c100 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in kvmppc_copyto_vcpu_tm()
119 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in kvmppc_copyfrom_vcpu_tm()
A Dpowerpc.c837 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load()
846 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put()
1724 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg()
1779 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dkvm_book3s_64.h604 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in copy_from_checkpoint()
621 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in copy_to_checkpoint()
A Dprocessor.h189 unsigned long vrsave; member
A Dkvm_host.h609 u32 vrsave; /* also USPRG0 */ member
/linux-6.3-rc2/Documentation/powerpc/
A Dcpu_features.rst43 mfspr r22,SPRN_VRSAVE /* if G4, save vrsave register value */
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dkvm.h255 __u32 vrsave; /* a.k.a. USPRG0 */ member
/linux-6.3-rc2/tools/arch/powerpc/include/uapi/asm/
A Dkvm.h255 __u32 vrsave; /* a.k.a. USPRG0 */ member

Completed in 50 milliseconds