linux/arch/s390
Heiko Carstens e1d12d70f7 s390/traps: panic() instead of die() on translation exception
In case of a translation exception the page tables are corrupted. If the
exception handler then calls die() which again calls show_regs()
-> show_code() -> copy_from_user(), the kernel may access the same memory
location again and generates yet another translation exception. Which in turn
will lead to a deadlock on the die_lock spinlock, which the kernel tries to
grab recursively.

Given that the page tables are corrupted anyway, if we see such an exception,
let's simply panic.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-03-25 11:49:38 +01:00
..
appldata s390: appldata: drop owner assignment from platform_drivers 2014-10-20 16:20:13 +02:00
boot s390: remove "64" suffix from a couple of files 2015-03-25 11:49:34 +01:00
configs s390: update default configuration 2015-01-22 12:16:09 +01:00
crypto s390: remove test_facility(2) (== z/Architecture mode active) checks 2015-03-25 11:49:37 +01:00
hypfs s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
include s390/cmpxchg: simplify cmpxchg_double 2015-03-25 11:49:36 +01:00
kernel s390/traps: panic() instead of die() on translation exception 2015-03-25 11:49:38 +01:00
kvm KVM: s390: non-LPAR case obsolete during facilities mask init 2015-03-04 10:33:25 +01:00
lib s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
mm s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
net s390/bpf: Zero extend parameters before calling C function 2015-01-15 11:10:41 +01:00
oprofile s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
pci s390: remove test_facility(2) (== z/Architecture mode active) checks 2015-03-25 11:49:37 +01:00
defconfig s390: update default configuration 2015-01-22 12:16:09 +01:00
Kbuild s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
Kconfig s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
Kconfig.debug
Makefile s390: remove 31 bit support 2015-03-25 11:49:33 +01:00