Re: [PATCH] selftests/powerpc: Fix ptrace tm failure

2018-10-23 Thread Segher Boessenkool
On Mon, Oct 22, 2018 at 06:16:26PM -0300, Breno Leitao wrote: > Test ptrace-tm-spd-gpr fails on current kernel (4.19) due to a segmentation > fault that happens on the child process prior to setting cptr[2] = 1. This > causes the parent process to wait forever at 'while (!pptr[2])' and the test >

[PATCH] selftests/powerpc: Fix ptrace tm failure

2018-10-22 Thread Breno Leitao
Test ptrace-tm-spd-gpr fails on current kernel (4.19) due to a segmentation fault that happens on the child process prior to setting cptr[2] = 1. This causes the parent process to wait forever at 'while (!pptr[2])' and the test to be killed by the test harness framework by timeout, thus, failing.