/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
D | ptrace-altivec.c | 49 } 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()
|
D | ptrace-tm.c | 347 } vrsave; in tm_cvmx_get() local 365 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_get() 366 vrsave.word = target->thread.ckvrsave; in tm_cvmx_get() 367 return membuf_write(&to, &vrsave, sizeof(vrsave)); in tm_cvmx_get() 419 } vrsave; in tm_cvmx_set() local 420 memset(&vrsave, 0, sizeof(vrsave)); in tm_cvmx_set() 421 vrsave.word = target->thread.ckvrsave; in tm_cvmx_set() 422 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in tm_cvmx_set() 425 target->thread.ckvrsave = vrsave.word; in tm_cvmx_set()
|
/kernel/linux/linux-5.10/drivers/crypto/vmx/ |
D | ghashp8-ppc.pl | 58 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
|
D | aesp8-ppc.pl | 116 $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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | signal_64.c | 105 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() 258 err |= __put_user(tsk->thread.vrsave, in setup_tm_sigcontexts() 387 err |= __get_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33]); in restore_sigcontext() 389 tsk->thread.vrsave = 0; in restore_sigcontext() 391 mtspr(SPRN_VRSAVE, tsk->thread.vrsave); in restore_sigcontext() 514 err |= __get_user(tsk->thread.vrsave, in restore_tm_sigcontexts() [all …]
|
D | signal_32.c | 271 current->thread.vrsave = mfspr(SPRN_VRSAVE); in save_user_regs() 272 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs() 401 if (__put_user(current->thread.vrsave, in save_tm_user_regs() 526 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs() 529 mtspr(SPRN_VRSAVE, current->thread.vrsave); in restore_user_regs() 637 __get_user(current->thread.vrsave, in restore_tm_user_regs()
|
D | process.c | 1141 t->vrsave = mfspr(SPRN_VRSAVE); in save_sprs() 1172 old_thread->vrsave != new_thread->vrsave) in restore_sprs() 1173 mtspr(SPRN_VRSAVE, new_thread->vrsave); in restore_sprs() 1880 current->thread.vrsave = 0; in start_thread()
|
D | asm-offsets.c | 121 OFFSET(THREAD_VRSAVE, thread_struct, vrsave); in main() 459 OFFSET(VCPU_VRSAVE, kvm_vcpu, arch.vrsave); in main()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 603 vcpu->arch.vrsave = vcpu->arch.vrsave_tm; in copy_from_checkpoint() 620 vcpu->arch.vrsave_tm = vcpu->arch.vrsave; in copy_to_checkpoint()
|
D | processor.h | 193 unsigned long vrsave; member
|
D | kvm_host.h | 608 u32 vrsave; /* also USPRG0 */ member
|
/kernel/linux/linux-5.10/Documentation/powerpc/ |
D | cpu_features.rst | 43 mfspr r22,SPRN_VRSAVE /* if G4, save vrsave register value */
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | booke.c | 1491 sregs->u.e.vrsave = vcpu->arch.vrsave; in get_sregs_base() 1505 vcpu->arch.vrsave = sregs->u.e.vrsave; in set_sregs_base() 1683 *val = get_reg_val(id, vcpu->arch.vrsave); in kvmppc_get_one_reg() 1752 vcpu->arch.vrsave = set_reg_val(id, *val); in kvmppc_set_one_reg()
|
D | book3s_emulate.c | 104 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()
|
D | powerpc.c | 813 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvm_arch_vcpu_load() 822 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvm_arch_vcpu_put() 1706 val = get_reg_val(reg->id, vcpu->arch.vrsave); in kvm_vcpu_ioctl_get_one_reg() 1761 vcpu->arch.vrsave = set_reg_val(reg->id, val); in kvm_vcpu_ioctl_set_one_reg()
|
D | book3s_hv.c | 3656 mtspr(SPRN_VRSAVE, vcpu->arch.vrsave); in kvmhv_p9_guest_entry() 3768 vcpu->arch.vrsave = mfspr(SPRN_VRSAVE); in kvmhv_p9_guest_entry()
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 255 __u32 vrsave; /* a.k.a. USPRG0 */ member
|
/kernel/linux/linux-5.10/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 255 __u32 vrsave; /* a.k.a. USPRG0 */ member
|