]> git.baikalelectronics.ru Git - kernel.git/commit
s390: store breaking event address only for program checks
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 25 Jan 2017 11:54:17 +0000 (12:54 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Jan 2017 09:46:53 +0000 (10:46 +0100)
commit22157098d455a112ba01b1e7801e6b22436ec842
tree744812c35d9c5d98acbd48fac1237a2ce2dfadd9
parentd57644396c4bb28757a9b4b366325617d870f277
s390: store breaking event address only for program checks

The principles of operations specifies that the breaking event address
is stored to the address 0x110 in the prefix page only for program checks.
The last branch in user space is lost as soon as a branch in kernel space
is executed after e.g. an svc. This makes it impossible to accurately
maintain the breaking event address for a user space process.

Simplify the code, just copy the current breaking event address from
0x110 to the task structure for program checks from user space.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S