]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc/ptrace: Convert to load/store doubles
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jun 2022 14:02:34 +0000 (00:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:16 +0000 (12:05 +1000)
commita1b61fe9e1998ec40530b107de453d0880c8a26a
tree6769f94f52f257533267a6d659fa8aa0b8e2c050
parent03a9dee75eb8867110473985c266f45e2c76cd99
selftests/powerpc/ptrace: Convert to load/store doubles

Some of the ptrace tests check the contents of floating pointer
registers. Currently these use float, which is always 4 bytes, but the
ptrace API supports saving/restoring 8 bytes per register, so switch to
using doubles to exercise the code more fully.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-8-mpe@ellerman.id.au
tools/testing/selftests/powerpc/include/reg.h
tools/testing/selftests/powerpc/lib/reg.S
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace-gpr.h
tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c
tools/testing/selftests/powerpc/ptrace/ptrace.h