Home
last modified time | relevance | path

Searched refs:vsx (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/
Dptrace-vsx.c22 void vsx(void) in vsx() function
43 unsigned long vsx[VSX_MAX]; in trace_vsx() local
47 FAIL_IF(show_vsx(child, vsx)); in trace_vsx()
48 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_vsx()
52 memset(vsx, 0, sizeof(vsx)); in trace_vsx()
54 load_vsx_vmx(fp_load_new, vsx, vmx); in trace_vsx()
56 FAIL_IF(write_vsx(child, vsx)); in trace_vsx()
83 vsx(); in ptrace_vsx()
Dptrace-tm-vsx.c91 unsigned long vsx[VSX_MAX]; in trace_tm_vsx() local
95 FAIL_IF(show_vsx(child, vsx)); in trace_tm_vsx()
96 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_tm_vsx()
99 FAIL_IF(show_vsx_ckpt(child, vsx)); in trace_tm_vsx()
100 FAIL_IF(validate_vsx(vsx, fp_load_ckpt)); in trace_tm_vsx()
103 memset(vsx, 0, sizeof(vsx)); in trace_tm_vsx()
106 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_vsx()
108 FAIL_IF(write_vsx_ckpt(child, vsx)); in trace_tm_vsx()
Dptrace-tm-spd-vsx.c103 unsigned long vsx[VSX_MAX]; in trace_tm_spd_vsx() local
107 FAIL_IF(show_vsx(child, vsx)); in trace_tm_spd_vsx()
108 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_tm_spd_vsx()
111 FAIL_IF(show_vsx_ckpt(child, vsx)); in trace_tm_spd_vsx()
112 FAIL_IF(validate_vsx(vsx, fp_load_ckpt)); in trace_tm_spd_vsx()
116 memset(vsx, 0, sizeof(vsx)); in trace_tm_spd_vsx()
119 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_spd_vsx()
121 FAIL_IF(write_vsx_ckpt(child, vsx)); in trace_tm_spd_vsx()
Dptrace-vsx.h17 int validate_vsx(unsigned long *vsx, unsigned long *load) in validate_vsx() argument
22 if (vsx[i] != load[2 * i + 1]) { in validate_vsx()
24 i, vsx[i], 2 * i + 1, load[2 * i + 1]); in validate_vsx()
112 void load_vsx_vmx(unsigned long *load, unsigned long *vsx, in load_vsx_vmx() argument
118 vsx[i] = load[1 + 2 * i]; in load_vsx_vmx()
D.gitignore7 ptrace-vsx
8 ptrace-tm-vsx
9 ptrace-tm-spd-vsx
DMakefile3 ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \
4 ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
Dptrace.h593 int show_vsx(pid_t child, unsigned long *vsx) in show_vsx() argument
597 ret = ptrace(PTRACE_GETVSRREGS, child, 0, vsx); in show_vsx()
605 int show_vsx_ckpt(pid_t child, unsigned long *vsx) in show_vsx_ckpt() argument
618 memcpy(vsx, regs, sizeof(regs)); in show_vsx_ckpt()
622 int write_vsx(pid_t child, unsigned long *vsx) in write_vsx() argument
626 ret = ptrace(PTRACE_SETVSRREGS, child, 0, vsx); in write_vsx()
634 int write_vsx_ckpt(pid_t child, unsigned long *vsx) in write_vsx_ckpt() argument
640 memcpy(regs, vsx, sizeof(regs)); in write_vsx_ckpt()
/Linux-v4.19/tools/testing/selftests/powerpc/tm/
D.gitignore13 tm-signal-context-chk-vsx
DMakefile3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
/Linux-v4.19/arch/powerpc/include/asm/
Demulated_ops.h52 struct ppc_emulated_entry vsx; member
/Linux-v4.19/arch/powerpc/
DMakefile208 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
/Linux-v4.19/arch/powerpc/kernel/
Dtraps.c2155 WARN_EMULATED_SETUP(vsx),