s390/traps: die on translation exceptions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 19 Nov 2014 13:05:52 +0000 (14:05 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Nov 2014 07:49:33 +0000 (08:49 +0100)
commite56da345eb529370f21f36a52bbb114ba38ad921
tree3e16f0d15071915eb3cfd311edf2cb84dd6d56b0
parent413d404768256eda4e13fdfce753fe2bbff2fcaf
s390/traps: die on translation exceptions

Translation exceptions should never happen, since that implies that
either we screwed up the page tables or missed to properly flush the TLB.

In both cases we should not just simply kill user space or walk the kernel
exception tables. Instead an oops or a panic (panic_on_oops) is the better
answer.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/traps.c