arm64: don't kill the kernel on a bad esr from el0
authorMark Rutland <mark.rutland@arm.com>
Tue, 28 May 2013 14:54:15 +0000 (15:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 31 May 2013 15:04:51 +0000 (16:04 +0100)
commit9955ac47f4ba1c95ecb6092aeaefb40a22e99268
treec875695e3bba3d45cea40678671b6bb6b67e6d76
parent381cc2b9705512ee7c7f1839cbdde374625a2a9f
arm64: don't kill the kernel on a bad esr from el0

Rather than completely killing the kernel if we receive an esr value we
can't deal with in the el0 handlers, send the process a SIGILL and log
the esr value in the hope that we can debug it. If we receive a bad esr
from el1, we'll die() as before.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: stable@vger.kernel.org
arch/arm64/kernel/traps.c