selftests/powerpc: Add test to check if TM SPRs are corrupted

Testing that the TM SPRs are behaving the way they should. Uses more
threads than cpus to see if the following register values persist with
context switching:
- the FS (failure summary) flag in TEXASR
- TFIAR and TFHAR

Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Rashmica Gupta
2015-12-23 16:49:54 +11:00
committed by Michael Ellerman
parent dbccb4940c
commit 16aab32187
3 changed files with 146 additions and 1 deletions

View File

@@ -5,3 +5,4 @@ tm-signal-stack
tm-vmxcopy
tm-fork
tm-tar
tm-tmspr