selftests/powerpc: Test cp_abort during context switch

Michael Ellerman mpe at ellerman.id.au
Thu May 5 08:40:31 AEST 2016


On Mon, 2016-02-05 at 03:51:38 UTC, Chris Smart wrote:
> Test that performing a copy paste sequence in userspace on P9 does not
> result in a leak of the copy into the paste of another process.
> 
> This is based on Anton Blanchard's context_switch benchmarking code. It
> sets up two processes tied to the same CPU, one which copies and one
> which pastes.
> 
> The paste should never succeed and the test fails if it does.
> 
> This is a test for commit, "8a64904 powerpc: Add support for userspace
> P9 copy paste."
> 
> Patch created with much assistance from Michael Neuling
> <mikey at neuling.org>
> 
> Signed-off-by: Chris Smart <chris at distroguy.com>
> Reviewed-by: Cyril Bur <cyrilbur at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/3a3c5de218a676440e535035d9

cheers


More information about the Linuxppc-dev mailing list