linux/tools/testing/selftests/powerpc/include
Michael Ellerman 611e385087 selftests/powerpc/ptrace: Do more of ptrace-gpr in asm
The ptrace-gpr test includes some inline asm to load GPR and FPR
registers. It then goes back to C to wait for the parent to trace it and
then checks register contents.

The split between inline asm and C is fragile, it relies on the compiler
not using any non-volatile GPRs after the inline asm block. It also
requires a very large and unwieldy inline asm block.

So convert the logic to set registers, wait, and store registers to a
single asm function, meaning there's no window for the compiler to
intervene.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220627140239.2464900-10-mpe@ellerman.id.au
2022-07-25 12:05:16 +10:00
..
basic_asm.h selftests/powerpc/ptrace: Do more of ptrace-gpr in asm 2022-07-25 12:05:16 +10:00
fpu_asm.h
gpr_asm.h
instructions.h
pkeys.h
reg.h selftests/powerpc/ptrace: Convert to load/store doubles 2022-07-25 12:05:16 +10:00
subunit.h
utils.h selftests/powerpc: Add support to fetch "platform" and "base platform" from auxv to detect platform. 2022-06-28 23:56:46 +10:00
vmx_asm.h
vsx_asm.h