]> git.baikalelectronics.ru Git - kernel.git/commit
s390/ptrace: PTRACE_TE_ABORT_RAND
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Tue, 2 Jul 2013 20:58:26 +0000 (22:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Jul 2013 10:21:56 +0000 (12:21 +0200)
commitfe5d418cdf54593bb82240277c9d4062d4584ea6
treed32a327697cccd38cfacdc86bdaf6ed6a4f3365e
parenta802d7f8459eee28f7b11d7dee7ac6e333bff61e
s390/ptrace: PTRACE_TE_ABORT_RAND

The patch implements a s390 specific ptrace request
PTRACE_TE_ABORT_RAND to modify the randomness of spontaneous
aborts of memory transactions of the transaction execution
facility. The data argument of the ptrace request is used to
specify the levels of randomness, 0 for normal operation, 1 to
abort every transaction at a random instruction, and 2 to abort
a random transaction at a random instruction. The default is 0
for normal operation.

Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/include/asm/switch_to.h
arch/s390/include/uapi/asm/ptrace.h
arch/s390/kernel/ptrace.c