/Linux-v6.6/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-vsx.c | 18 void vsx(void) in vsx() function 39 unsigned long vsx[VSX_MAX]; in trace_vsx() local 43 FAIL_IF(show_vsx(child, vsx)); in trace_vsx() 44 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_vsx() 48 memset(vsx, 0, sizeof(vsx)); in trace_vsx() 50 load_vsx_vmx(fp_load_new, vsx, vmx); in trace_vsx() 52 FAIL_IF(write_vsx(child, vsx)); in trace_vsx() 81 vsx(); in ptrace_vsx()
|
D | ptrace-tm-vsx.c | 86 unsigned long vsx[VSX_MAX]; in trace_tm_vsx() local 90 FAIL_IF(show_vsx(child, vsx)); in trace_tm_vsx() 91 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_tm_vsx() 94 FAIL_IF(show_vsx_ckpt(child, vsx)); in trace_tm_vsx() 95 FAIL_IF(validate_vsx(vsx, fp_load_ckpt)); in trace_tm_vsx() 98 memset(vsx, 0, sizeof(vsx)); in trace_tm_vsx() 101 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_vsx() 103 FAIL_IF(write_vsx_ckpt(child, vsx)); in trace_tm_vsx()
|
D | ptrace-tm-spd-vsx.c | 98 unsigned long vsx[VSX_MAX]; in trace_tm_spd_vsx() local 102 FAIL_IF(show_vsx(child, vsx)); in trace_tm_spd_vsx() 103 FAIL_IF(validate_vsx(vsx, fp_load)); in trace_tm_spd_vsx() 106 FAIL_IF(show_vsx_ckpt(child, vsx)); in trace_tm_spd_vsx() 107 FAIL_IF(validate_vsx(vsx, fp_load_ckpt)); in trace_tm_spd_vsx() 111 memset(vsx, 0, sizeof(vsx)); in trace_tm_spd_vsx() 114 load_vsx_vmx(fp_load_ckpt_new, vsx, vmx); in trace_tm_spd_vsx() 116 FAIL_IF(write_vsx_ckpt(child, vsx)); in trace_tm_spd_vsx()
|
D | ptrace-vsx.h | 13 int validate_vsx(unsigned long *vsx, unsigned long *load) in validate_vsx() argument 18 if (vsx[i] != load[2 * i + 1]) { in validate_vsx() 20 i, vsx[i], 2 * i + 1, load[2 * i + 1]); in validate_vsx() 108 void load_vsx_vmx(unsigned long *load, unsigned long *vsx, in load_vsx_vmx() argument 114 vsx[i] = load[1 + 2 * i]; in load_vsx_vmx()
|
D | .gitignore | 8 ptrace-vsx 9 ptrace-tm-vsx 10 ptrace-tm-spd-vsx
|
D | Makefile | 6 TM_TESTS += ptrace-tm-spd-vsx 9 TM_TESTS += ptrace-tm-vsx 19 TESTS_64 += ptrace-vsx
|
D | ptrace.h | 657 int show_vsx(pid_t child, unsigned long *vsx) in show_vsx() argument 661 ret = ptrace(PTRACE_GETVSRREGS, child, 0, vsx); in show_vsx() 669 int show_vsx_ckpt(pid_t child, unsigned long *vsx) in show_vsx_ckpt() argument 682 memcpy(vsx, regs, sizeof(regs)); in show_vsx_ckpt() 686 int write_vsx(pid_t child, unsigned long *vsx) in write_vsx() argument 690 ret = ptrace(PTRACE_SETVSRREGS, child, 0, vsx); in write_vsx() 698 int write_vsx_ckpt(pid_t child, unsigned long *vsx) in write_vsx_ckpt() argument 704 memcpy(regs, vsx, sizeof(regs)); in write_vsx_ckpt()
|
/Linux-v6.6/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-vsx.c | 60 uint8_t vsx[sizeof(vector int)]; in signal_usr1() local 106 memcpy(vsx, &ucp->uc_mcontext.fp_regs[FPR20 + i], 8); in signal_usr1() 107 memcpy(vsx + 8, &vsx_ptr[VSX20 + i], 8); in signal_usr1() 109 fail = memcmp(vsx, &vsxs[i], sizeof(vector int)); in signal_usr1() 115 printf("%02x", vsx[j]); in signal_usr1()
|
D | .gitignore | 14 tm-signal-context-chk-vsx
|
D | Makefile | 3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
|
/Linux-v6.6/tools/testing/selftests/nolibc/ |
D | Makefile | 116 CFLAGS_ppc = -m32 -mbig-endian -mno-vsx $(call cc-option,-mmultiple) 117 CFLAGS_ppc64 = -m64 -mbig-endian -mno-vsx $(call cc-option,-mmultiple) 118 CFLAGS_ppc64le = -m64 -mlittle-endian -mno-vsx $(call cc-option,-mabi=elfv2)
|
/Linux-v6.6/arch/powerpc/kernel/ptrace/ |
D | Makefile | 11 obj-$(CONFIG_VSX) += ptrace-vsx.o
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | emulated_ops.h | 40 struct ppc_emulated_entry vsx; member
|
/Linux-v6.6/arch/powerpc/ |
D | Makefile | 196 KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
|
D | Kconfig | 13 # -mno-vsx options are also given. Without these options, fp/vec
|
/Linux-v6.6/arch/powerpc/crypto/ |
D | chacha-p10le-8x.S | 633 # save constants to vsx
|
/Linux-v6.6/arch/powerpc/boot/ |
D | Makefile | 77 -msoft-float -mno-altivec -mno-vsx \
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | traps.c | 2287 WARN_EMULATED_SETUP(vsx),
|