From: Martin Schwidefsky Date: Wed, 25 Jan 2017 11:54:17 +0000 (+0100) Subject: s390: store breaking event address only for program checks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34525e1f7e8dc478;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 97298c58b2be..f687f168c94d 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -103,8 +103,7 @@ _PIF_WORK = (_PIF_PER_TRAP) CHECK_STACK 1<