APPLIED: [B][SRU][PATCH 0/1] selftests/powerpc: Fix ptrace tm failure
Khaled Elmously
khalid.elmously at canonical.com
Fri Feb 1 02:25:50 UTC 2019
On 2019-01-24 16:30:06 , Po-Hsu Lin wrote:
> BugLink: https://bugs.launchpad.net/bugs/1813127
>
> == Justification ==
> ptrace-tm-spd-gpr in powerpc/ptrace will fail with Power8 on Bionic:
> $ sudo ./ptrace-tm-spd-gpr
> test: ptrace_tm_spd_gpr
> tags: git_version:c186097-dirty
> !! killing ptrace_tm_spd_gpr
> !! child died by signal 15
> failure: ptrace_tm_spd_gpr
>
> This is 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.
>
> == Fix ==
> 48dc0ef (selftests/powerpc: Fix ptrace tm failure)
>
> This patch can be cherry-picked for Bionic.
>
> == Test ==
> After the patch, the test will pass with:
> $ sudo ./ptrace-tm-spd-gpr
> test: ptrace_tm_spd_gpr
> tags: git_version:c186097-dirty
> success: ptrace_tm_spd_gpr
>
> == Regression potential ==
> None, change for the testing tool only.
>
>
> Breno Leitao (1):
> selftests/powerpc: Fix ptrace tm failure
>
> tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list