Home
last modified time | relevance | path

Searched refs:vxrs (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/include/asm/fpu/
H A Dinternal.h16 static inline void save_vx_regs(__vector128 *vxrs) in save_vx_regs() argument
22 : "=Q" (*(struct vx_array *) vxrs) : : "1"); in save_vx_regs()
25 static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs) in convert_vx_to_fp() argument
30 fprs[i] = *(freg_t *)(vxrs + i); in convert_vx_to_fp()
33 static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs) in convert_fp_to_vx() argument
38 *(freg_t *)(vxrs + i) = fprs[i]; in convert_fp_to_vx()
46 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); in fpregs_store()
56 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); in fpregs_load()
H A Dtypes.h21 __vector128 vxrs[__NUM_VXRS]; member
34 __vector128 vxrs[__NUM_VXRS]; member
/kernel/linux/linux-6.6/arch/s390/include/asm/fpu/
H A Dinternal.h16 static inline void save_vx_regs(__vector128 *vxrs) in save_vx_regs() argument
22 : "=Q" (*(struct vx_array *) vxrs) : : "1"); in save_vx_regs()
25 static inline void convert_vx_to_fp(freg_t *fprs, __vector128 *vxrs) in convert_vx_to_fp() argument
30 fprs[i].ui = vxrs[i].high; in convert_vx_to_fp()
33 static inline void convert_fp_to_vx(__vector128 *vxrs, freg_t *fprs) in convert_fp_to_vx() argument
38 vxrs[i].high = fprs[i].ui; in convert_fp_to_vx()
46 convert_vx_to_fp((freg_t *)&fpregs->fprs, fpu->vxrs); in fpregs_store()
56 convert_fp_to_vx(fpu->vxrs, (freg_t *)&fpregs->fprs); in fpregs_load()
H A Dtypes.h21 __vector128 vxrs[__NUM_VXRS]; member
34 __vector128 vxrs[__NUM_VXRS]; member
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dfpu.c57 " la 1,%[vxrs]\n" /* load save area */ in __kernel_fpu_begin()
91 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_begin()
139 " la 1,%[vxrs]\n" /* load restore area */ in __kernel_fpu_end()
173 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_end()
H A Dcompat_signal.c128 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local
141 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext32()
142 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()
145 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
156 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext32() local
168 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext32()
170 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
175 *((__u64 *)(current->thread.fpu.vxrs + i) + 1) = vxrs[ in restore_sigregs_ext32()
[all...]
H A Dsignal.c60 * have a fixed position and moves if gprs_high or vxrs exist.
180 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
186 vxrs[i] = *((__u64 *)(current->thread.fpu.vxrs + i) + 1); in save_sigregs_ext()
187 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
190 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
200 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
205 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
207 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
212 *((__u64 *)(current->thread.fpu.vxrs in restore_sigregs_ext()
[all...]
H A Dptrace.c253 * or the child->thread.fpu.vxrs array in __peek_user()
258 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user()
423 * or the child->thread.fpu.vxrs array in __poke_user()
428 child->thread.fpu.vxrs + 2*offset) = data; in __poke_user()
653 * or the child->thread.fpu.vxrs array in __peek_user_compat()
658 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user_compat()
783 * or the child->thread.fpu.vxrs array in __poke_user_compat()
788 child->thread.fpu.vxrs + 2*offset) = tmp; in __poke_user_compat()
1017 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set()
1040 convert_fp_to_vx(target->thread.fpu.vxrs, fpr in s390_fpregs_set()
1085 __u64 vxrs[__NUM_VXRS_LOW]; s390_vxrs_low_get() local
1102 __u64 vxrs[__NUM_VXRS_LOW]; s390_vxrs_low_set() local
[all...]
H A Dperf_regs.c23 fp = MACHINE_HAS_VX ? *(freg_t *)(current->thread.fpu.vxrs + idx) in perf_reg_value()
H A Dcrash_dump.c105 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument
111 memcpy(&sa->vxrs_low[i], &vxrs[i].u[2], 8); in save_area_add_vxrs()
113 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
H A Dsmp.c636 __vector128 *vxrs = (__vector128 *) page; in smp_save_cpu_vxrs() local
639 vxrs = boot_cpu_vector_save_area; in smp_save_cpu_vxrs()
642 save_area_add_vxrs(sa, vxrs); in smp_save_cpu_vxrs()
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dcompat_signal.c129 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local
142 vxrs[i] = current->thread.fpu.vxrs[i].low; in save_sigregs_ext32()
143 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()
146 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext32()
157 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext32() local
169 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext32()
171 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext32()
176 current->thread.fpu.vxrs[i].low = vxrs[ in restore_sigregs_ext32()
[all...]
H A Dsignal.c61 * have a fixed position and moves if gprs_high or vxrs exist.
181 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local
187 vxrs[i] = current->thread.fpu.vxrs[i].low; in save_sigregs_ext()
188 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()
191 current->thread.fpu.vxrs + __NUM_VXRS_LOW, in save_sigregs_ext()
201 __u64 vxrs[__NUM_VXRS_LOW]; in restore_sigregs_ext() local
206 if (__copy_from_user(vxrs, &sregs_ext->vxrs_low, in restore_sigregs_ext()
208 __copy_from_user(current->thread.fpu.vxrs + __NUM_VXRS_LOW, in restore_sigregs_ext()
213 current->thread.fpu.vxrs[ in restore_sigregs_ext()
[all...]
H A Dfpu.c56 " la 1,%[vxrs]\n" /* load save area */ in __kernel_fpu_begin()
90 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_begin()
138 " la 1,%[vxrs]\n" /* load restore area */ in __kernel_fpu_end()
172 : [vxrs] "=Q" (*(struct vx_array *) &state->vxrs) in __kernel_fpu_end()
H A Dptrace.c247 * or the child->thread.fpu.vxrs array in __peek_user()
252 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user()
397 * or the child->thread.fpu.vxrs array in __poke_user()
402 child->thread.fpu.vxrs + 2*offset) = data; in __poke_user()
624 * or the child->thread.fpu.vxrs array in __peek_user_compat()
629 ((addr_t) child->thread.fpu.vxrs + 2*offset); in __peek_user_compat()
753 * or the child->thread.fpu.vxrs array in __poke_user_compat()
758 child->thread.fpu.vxrs + 2*offset) = tmp; in __poke_user_compat()
911 convert_vx_to_fp(fprs, target->thread.fpu.vxrs); in s390_fpregs_set()
934 convert_fp_to_vx(target->thread.fpu.vxrs, fpr in s390_fpregs_set()
981 __u64 vxrs[__NUM_VXRS_LOW]; s390_vxrs_low_get() local
998 __u64 vxrs[__NUM_VXRS_LOW]; s390_vxrs_low_set() local
[all...]
H A Dperf_regs.c23 fp = MACHINE_HAS_VX ? *(freg_t *)(current->thread.fpu.vxrs + idx) in perf_reg_value()
H A Dcrash_dump.c107 void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) in save_area_add_vxrs() argument
113 sa->vxrs_low[i] = vxrs[i].low; in save_area_add_vxrs()
115 memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); in save_area_add_vxrs()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dipl.h56 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dipl.h62 void __init save_area_add_vxrs(struct save_area *, __vector128 *vxrs);

Completed in 12 milliseconds