OSDN Git Service

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)
commit34525e1f7e8dc47834b52d19b02c94b250df6f1f
tree744812c35d9c5d98acbd48fac1237a2ce2dfadd9
parent3b1bea012710c1a299573c7a6a0584d623e6cbcf
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