[1/2] selftests/powerpc: Abort load_unaligned_zeropad on unhandled SEGV
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Nov 14 23:17:04 AEDT 2016
On Thu, 2016-03-11 at 04:41:00 UTC, Michael Ellerman wrote:
> If the load unaligned zeropad test takes a SEGV which can't be handled,
> we increment segv_error, print the offending NIP and then return without
> taking any further action. In almost all cases this means we'll just
> take the SEGV again, and loop eternally spamming the console.
>
> Instead just abort(), it's a fatal error in the test. The test harness
> will notice that the child died and print a nice message for us.
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/06236f4efb926aa433e2cb3e36e846
cheers
More information about the Linuxppc-dev
mailing list