powerpc/tm: Add tm-poison test
authorGustavo Romero <gromero@linux.ibm.com>
Wed, 4 Sep 2019 04:55:29 +0000 (00:55 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Sep 2019 22:36:53 +0000 (08:36 +1000)
commita003365cab64b0f7988ac3ccb1da895ce0bece5e
tree01730b4b18c05380cf629fd4635f8d7b67088f69
parent45824fc0da6e46cc5d563105e1eaaf3098a686f9
powerpc/tm: Add tm-poison test

Add TM selftest to check if FP or VEC register values from one process
can leak into another process when both run on the same CPU.

Signed-off-by: Gustavo Romero <gromero@linux.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190904045529.23002-3-gromero@linux.vnet.ibm.com
tools/testing/selftests/powerpc/tm/.gitignore
tools/testing/selftests/powerpc/tm/Makefile
tools/testing/selftests/powerpc/tm/tm-poison.c [new file with mode: 0644]