diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2015-01-21 10:54:46 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-16 10:55:26 +0100 |
commit | d79d853df126553f9a185151e310f6dc74205ae5 (patch) | |
tree | cadbd551090fcecf6ec1551573ce8f907e8b6a28 /arch/mips/Kconfig | |
parent | 9791554b45a2acc28247f66a5fd5bbc212a6b8c8 (diff) |
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>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3289969ee423..b1b2de537860 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -54,6 +54,7 @@ config MIPS select CPU_PM if CPU_IDLE select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST select ARCH_BINFMT_ELF_STATE + select SYSCTL_EXCEPTION_TRACE menu "Machine selection" |