alistair23-linux/arch/s390
Martin Schwidefsky d9fcf2a1cb 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: 34525e1f7e ("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>
2017-03-01 09:59:27 +01:00
..
appldata sched/cputime: Convert kcpustat to nsecs 2017-02-01 09:13:47 +01:00
boot s390/sclp: make early sclp code readable 2017-02-08 14:13:19 +01:00
configs s390/pkey: Introduce pkey kernel module 2017-02-23 10:06:40 +01:00
crypto s390/crypt: fix missing unlock in ctr_paes_crypt on error path 2017-03-01 09:59:27 +01:00
hypfs s390: hypfs: make inode explicitly non-modular 2016-10-31 17:55:40 +01:00
include Merge branch 'akpm' (patches from Andrew) 2017-02-27 23:09:29 -08:00
kernel s390: fix in-kernel program checks 2017-03-01 09:59:27 +01:00
kvm 4.11 is going to be a relatively large release for KVM, with a little over 2017-02-22 18:22:53 -08:00
lib s390: replace ACCESS_ONCE with READ_ONCE 2017-02-17 07:40:46 +01:00
mm s390/mm: use _SEGMENT_ENTRY_EMPTY in the code 2017-02-23 10:06:39 +01:00
net Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-02-22 10:20:04 -08:00
numa s390/numa: pin all possible cpus to nodes early 2016-12-07 07:23:33 +01:00
oprofile s390/dumpstack: restore reliable indicator for call traces 2016-10-17 14:44:30 +02:00
pci This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
tools KVM: s390: instruction-execution-protection support 2017-01-30 11:17:28 +01:00
defconfig s390/pkey: Introduce pkey kernel module 2017-02-23 10:06:40 +01:00
Kbuild
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-02-27 23:03:04 -08:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2017-02-22 10:20:04 -08:00
Makefile