]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
MIPS: mm: Add debug information for userland SIGSEGV signals.
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 21 Jan 2015 10:54:46 +0000 (10:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Feb 2015 09:55:26 +0000 (10:55 +0100)
commitd79d853df126553f9a185151e310f6dc74205ae5
treecadbd551090fcecf6ec1551573ce8f907e8b6a28
parent9791554b45a2acc28247f66a5fd5bbc212a6b8c8
MIPS: mm: Add debug information for userland SIGSEGV signals.

Commit 41c594ab65fc ("[MIPS] MT: Improved multithreading support.")
removed useful debug information for userland segmentation faults.
This patch bring this back along with the ability to determine the
name of the object file where the EPC and RA registers point at.
Furthermore, we select the SYSCTL_EXCEPTION_TRACE symbol for MIPS
which is the de facto solution to turn userland exception logging
on and off via the /proc/sys/debug/exception-trace file.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9089/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/mm/fault.c