diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-02-28 07:42:01 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-03-01 09:59:27 +0100 |
commit | d9fcf2a1cbd1ff65d0109b1b400938808007fcd5 (patch) | |
tree | b992cf1bb19fa3a863fe532119773a9be28e18d5 /arch/s390/include/asm/cputime.h | |
parent | e7c95effcd3a7a0c9535c809141ca499fede2c31 (diff) | |
download | linux-d9fcf2a1cbd1ff65d0109b1b400938808007fcd5.tar.gz linux-d9fcf2a1cbd1ff65d0109b1b400938808007fcd5.tar.bz2 linux-d9fcf2a1cbd1ff65d0109b1b400938808007fcd5.zip |
s390: fix in-kernel program checks
A program check inside the kernel takes a slightly different path in
entry.S compare to a normal user fault. A recent change moved the store
of the breaking event address into the path taken for in-kernel program
checks as well, but %r14 has not been setup to point to the correct
location. A wild store is the consequence.
Move the store of the breaking event address to the code path for
user space faults.
Fixes: 34525e1f7e8d ("s390: store breaking event address only for program checks")
Reported-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cputime.h')
0 files changed, 0 insertions, 0 deletions